mirror of https://github.com/xemu-project/xemu.git
Fix Sparse warning: dubious: !x & y
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
545557d4ab
commit
f6dc18df5c
|
@ -607,7 +607,7 @@ static void lsi_reselect(LSIState *s, uint32_t tag)
|
||||||
id = (tag >> 8) & 0xf;
|
id = (tag >> 8) & 0xf;
|
||||||
s->ssid = id | 0x80;
|
s->ssid = id | 0x80;
|
||||||
/* LSI53C700 Family Compatibility, see LSI53C895A 4-73 */
|
/* LSI53C700 Family Compatibility, see LSI53C895A 4-73 */
|
||||||
if (!s->dcntl & LSI_DCNTL_COM) {
|
if (!(s->dcntl & LSI_DCNTL_COM)) {
|
||||||
s->sfbr = 1 << (id & 0x7);
|
s->sfbr = 1 << (id & 0x7);
|
||||||
}
|
}
|
||||||
DPRINTF("Reselected target %d\n", id);
|
DPRINTF("Reselected target %d\n", id);
|
||||||
|
|
Loading…
Reference in New Issue