summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 18:20:26 +0000
committerphk <phk@FreeBSD.org>2003-05-31 18:20:26 +0000
commit304317cb1f4c8b5613119c47edd6a1261992f081 (patch)
tree63c4d7114add44527dd199ac6030ebfadf8914f9 /sys
parent7a8cce551ae5084e9c0ca2656aa49a7dec30833c (diff)
downloadFreeBSD-src-304317cb1f4c8b5613119c47edd6a1261992f081.zip
FreeBSD-src-304317cb1f4c8b5613119c47edd6a1261992f081.tar.gz
Add /* FALLTHROUGH */
Found by: FlexeLint
Diffstat (limited to 'sys')
-rw-r--r--sys/cam/cam_periph.c3
-rw-r--r--sys/nfsserver/nfs_syscalls.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c
index d22de04..5aee9ea 100644
--- a/sys/cam/cam_periph.c
+++ b/sys/cam/cam_periph.c
@@ -214,10 +214,13 @@ failure:
TAILQ_REMOVE(&(*p_drv)->units, periph, unit_links);
splx(s);
xpt_remove_periph(periph);
+ /* FALLTHROUGH */
case 2:
xpt_free_path(periph->path);
+ /* FALLTHROUGH */
case 1:
free(periph, M_DEVBUF);
+ /* FALLTHROUGH */
case 0:
/* No cleanup to perform. */
break;
diff --git a/sys/nfsserver/nfs_syscalls.c b/sys/nfsserver/nfs_syscalls.c
index 03737c3..83a3b32 100644
--- a/sys/nfsserver/nfs_syscalls.c
+++ b/sys/nfsserver/nfs_syscalls.c
@@ -457,6 +457,7 @@ nfssvc_nfsd(struct thread *td)
nfsrvstats.srvrpccnt[nd->nd_procnum]++;
nfsrv_updatecache(nd, TRUE, mreq);
nd->nd_mrep = NULL;
+ /* FALLTHROUGH */
case RC_REPLY:
siz = m_length(mreq, NULL);
if (siz <= 0 || siz > NFS_MAXPACKET) {
OpenPOWER on IntegriCloud