aboutsummaryrefslogtreecommitdiff
path: root/hw/lsi53c895a.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-12-25 16:12:17 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-12-25 16:12:17 +0000
commitf6dc18df5c6582bec1aecb78b95f8201e6c9cc38 (patch)
tree9c9535fd366588ea46c748a82e680a0c0d33b546 /hw/lsi53c895a.c
parent545557d4aba4327ce07aab5a6306242b4b096f09 (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c
index 014c85dbda..e4033b1393 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);