From f6dc18df5c6582bec1aecb78b95f8201e6c9cc38 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Fri, 25 Dec 2009 16:12:17 +0000 Subject: [PATCH] Fix Sparse warning: dubious: !x & y Signed-off-by: Blue Swirl --- hw/lsi53c895a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/lsi53c895a.c b/hw/lsi53c895a.c index 014c85dbd..e4033b139 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); -- 2.39.5