diff options
author | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2020-03-25 05:30:19 +0000 |
---|---|---|
committer | Jonathan Matthew <jmatthew@cvs.openbsd.org> | 2020-03-25 05:30:19 +0000 |
commit | a9364af989a86e9f7fcf874ae600e54b575b5085 (patch) | |
tree | a54854b73e95d1b6b54237d290b69f88436b7f17 | |
parent | b0f7f5a052a59e8c6ef333ce9b8216e988597bb6 (diff) |
Indicate that the case handling data underruns falls through to the case
handling overruns and normal completions.
CID 1452878.
-rw-r--r-- | sys/dev/pci/qle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c index 5787f45c423..383ff3d504d 100644 --- a/sys/dev/pci/qle.c +++ b/sys/dev/pci/qle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qle.c,v 1.51 2020/02/05 16:29:30 krw Exp $ */ +/* $OpenBSD: qle.c,v 1.52 2020/03/25 05:30:18 jmatthew Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -1097,6 +1097,7 @@ qle_handle_resp(struct qle_softc *sc, u_int32_t id) switch (completion) { case QLE_IOCB_STATUS_DATA_UNDERRUN: xs->resid = lemtoh32(&status->resid); + /* FALLTHROUGH */ case QLE_IOCB_STATUS_DATA_OVERRUN: case QLE_IOCB_STATUS_COMPLETE: if (lemtoh16(&status->scsi_status) & |