Add /* FALLTHROUGH */
Found by: FlexeLint
This commit is contained in:
parent
e6f5d39465
commit
7379c88f4f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=115476
@ -214,10 +214,13 @@ cam_periph_alloc(periph_ctor_t *periph_ctor,
|
||||
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;
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user