diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-12-25 16:12:17 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-12-25 16:12:17 +0000 |
commit | f6dc18df5c6582bec1aecb78b95f8201e6c9cc38 (patch) | |
tree | 9c9535fd366588ea46c748a82e680a0c0d33b546 /hw/lsi53c895a.c | |
parent | 545557d4aba4327ce07aab5a6306242b4b096f09 (diff) | |
download | qemu-f6dc18df5c6582bec1aecb78b95f8201e6c9cc38.zip qemu-f6dc18df5c6582bec1aecb78b95f8201e6c9cc38.tar.gz qemu-f6dc18df5c6582bec1aecb78b95f8201e6c9cc38.tar.bz2 |
Fix Sparse warning: dubious: !x & y
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/lsi53c895a.c')
-rw-r--r-- | hw/lsi53c895a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 014c85d..e4033b1 100644 --- a/hw/lsi53c895a.c +++ b/hw/lsi53c895a.c @@ -607,7 +607,7 @@ static void lsi_reselect(LSIState *s, uint32_t tag) id = (tag >> 8) & 0xf; s->ssid = id | 0x80; /* LSI53C700 Family Compatibility, see LSI53C895A 4-73 */ - if (!s->dcntl & LSI_DCNTL_COM) { + if (!(s->dcntl & LSI_DCNTL_COM)) { s->sfbr = 1 << (id & 0x7); } DPRINTF("Reselected target %d\n", id); |