summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ida/ida.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c
index 010dbfd..bfb2c03 100644
--- a/sys/dev/ida/ida.c
+++ b/sys/dev/ida/ida.c
@@ -579,6 +579,7 @@ ida_done(struct ida_softc *ida, struct ida_qcb *qcb)
if (ida->flags & IDA_INTERRUPTS)
wakeup(qcb);
} else {
+ KASSERT(qcb->buf != NULL, ("ida_done(): qcb->buf is NULL!"));
if (error)
qcb->buf->bio_flags |= BIO_ERROR;
idad_intr(qcb->buf);
OpenPOWER on IntegriCloud