Fix build with INVARIANTS.
This commit is contained in:
parent
7606b4450b
commit
4e931d3116
@ -1072,7 +1072,7 @@ ahci_begin_transaction(device_t dev, union ccb *ccb)
|
||||
while (ch->slot[tag].state != AHCI_SLOT_EMPTY) {
|
||||
if (++tag >= ch->numslots)
|
||||
tag = 0;
|
||||
KASSERT(tag != ch->lastslot, "ahci: ALL SLOTS BUSY!");
|
||||
KASSERT(tag != ch->lastslot, ("ahci: ALL SLOTS BUSY!"));
|
||||
}
|
||||
ch->lastslot = tag;
|
||||
/* Occupy chosen slot. */
|
||||
|
Loading…
Reference in New Issue
Block a user