qemu/msi: missing braces
commit72755a709619b1db204c675df8f1093d54e38128
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 5 Jul 2009 12:58:52 +0000 (5 15:58 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 10 Jul 2009 18:44:30 +0000 (10 13:44 -0500)
tree08b78c68572a0bee7b67cf44887e7ab4b2885a14
parent4bfd1712d787db62586e620cb84d35f6afa5b772
qemu/msi: missing braces

MSIX present bit is tested incorrectly, and only happens to work because
the bit we are testing is 0x1.  Add braces to fix this.

Reported-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/msix.c