summaryrefslogtreecommitdiffstats
path: root/sys/dev/atapiscsi/atapiscsi.c
diff options
context:
space:
mode:
authormestre <mestre@openbsd.org>2017-08-11 14:59:43 +0000
committermestre <mestre@openbsd.org>2017-08-11 14:59:43 +0000
commit6836a844c6ed9ccd5fd10e45afc22e70b44ef3b8 (patch)
tree19fe2426431d7384de1a96c9a5dc367f3e9ad3c7 /sys/dev/atapiscsi/atapiscsi.c
parentadd rcs ids (diff)
downloadwireguard-openbsd-6836a844c6ed9ccd5fd10e45afc22e70b44ef3b8.tar.xz
wireguard-openbsd-6836a844c6ed9ccd5fd10e45afc22e70b44ef3b8.zip
Missing break/return statement on switch case
Coverity CID 1453394 OK deraadt@
Diffstat (limited to 'sys/dev/atapiscsi/atapiscsi.c')
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index df5c45b13d4..bf3cd1161b4 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.103 2014/09/14 14:17:24 jsg Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.104 2017/08/11 14:59:43 mestre Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -1237,6 +1237,8 @@ wdc_atapi_pio_intr(struct channel_softc *chp, struct wdc_xfer *xfer,
return;
}
+ return;
+
case as_completed:
if ((chp->ch_status & WDCS_DRQ) ||
(ireason & 3) != 3) {