summaryrefslogtreecommitdiff
path: root/sys/scsi
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2005-05-28 23:59:19 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2005-05-28 23:59:19 +0000
commita8716044f0a7bc8aeeb3e7b7dd11e3fcbd86a51d (patch)
treede6a07656cca3f6bd2d02c4b2485159d1d9137c3 /sys/scsi
parent81b4a198df5976735878ceb688db5269ca94415e (diff)
Sprinkle some /* FALLTHROUGH */'s as suggested by lint.
Diffstat (limited to 'sys/scsi')
-rw-r--r--sys/scsi/scsi_base.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c
index 90ea6f49957..25c3137125f 100644
--- a/sys/scsi/scsi_base.c
+++ b/sys/scsi/scsi_base.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_base.c,v 1.74 2005/05/28 23:45:06 krw Exp $ */
+/* $OpenBSD: scsi_base.c,v 1.75 2005/05/28 23:59:18 krw Exp $ */
/* $NetBSD: scsi_base.c,v 1.43 1997/04/02 02:29:36 mycroft Exp $ */
/*
@@ -647,6 +647,7 @@ retry:
case TRY_AGAIN_LATER:
xs->error = XS_BUSY;
+ /* FALLTHROUGH */
case COMPLETE:
goto retry;
}
@@ -740,6 +741,7 @@ retry:
while ((xs->flags & ITSDONE) == 0)
tsleep(xs, PRIBIO + 1, "scsi_scsi_cmd", 0);
splx(s);
+ /* FALLTHROUGH */
case COMPLETE: /* Polling command completed ok */
if ((flags & (SCSI_NOSLEEP | SCSI_POLL)) == SCSI_NOSLEEP)
return EJUSTRETURN;
@@ -856,6 +858,7 @@ sc_err1(xs, async)
} else
goto lose;
}
+ /* FALLTHROUGH */
case XS_TIMEOUT:
retry:
if (xs->retries--) {
@@ -863,6 +866,7 @@ sc_err1(xs, async)
xs->flags &= ~ITSDONE;
return ERESTART;
}
+ /* FALLTHROUGH */
case XS_DRIVER_STUFFUP:
lose:
error = EIO;