summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-08-25 13:23:09 +0000
committercharnier <charnier@FreeBSD.org>2002-08-25 13:23:09 +0000
commit7dd9d470599f145845572ac1f0d4b621c19c1cdb (patch)
tree9d932320e38df05718ee72d760a4d0d204431b9b /sys/net
parent4966efff7bc9071f04706819e62e1a291d22bcb2 (diff)
downloadFreeBSD-src-7dd9d470599f145845572ac1f0d4b621c19c1cdb.zip
FreeBSD-src-7dd9d470599f145845572ac1f0d4b621c19c1cdb.tar.gz
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c14
-rw-r--r--sys/net/rtsock.c4
-rw-r--r--sys/net/slcompress.c2
3 files changed, 9 insertions, 11 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index ec52eaa..5a9184b 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -1165,7 +1165,7 @@ sppp_ioctl(struct ifnet *ifp, IOCTL_CMD_T cmd, void *data)
case SIOCSIFADDR:
/* set the interface "up" when assigning an IP address */
ifp->if_flags |= IFF_UP;
- /* fall through... */
+ /* FALLTHROUGH */
case SIOCSIFFLAGS:
going_up = ifp->if_flags & IFF_UP &&
@@ -1496,7 +1496,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
case STATE_OPENED:
(cp->tld)(sp);
(cp->scr)(sp);
- /* fall through... */
+ /* FALLTHROUGH */
case STATE_ACK_SENT:
case STATE_REQ_SENT:
/*
@@ -1560,7 +1560,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
break;
case STATE_OPENED:
(cp->tld)(sp);
- /* fall through */
+ /* FALLTHROUGH */
case STATE_ACK_RCVD:
(cp->scr)(sp);
sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
@@ -1615,7 +1615,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
break;
case STATE_OPENED:
(cp->tld)(sp);
- /* fall through */
+ /* FALLTHROUGH */
case STATE_ACK_RCVD:
sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
(cp->scr)(sp);
@@ -1637,7 +1637,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
case STATE_ACK_RCVD:
case STATE_ACK_SENT:
sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
- /* fall through */
+ /* FALLTHROUGH */
case STATE_CLOSED:
case STATE_STOPPED:
case STATE_CLOSING:
@@ -2002,7 +2002,7 @@ sppp_close_event(const struct cp *cp, struct sppp *sp)
break;
case STATE_OPENED:
(cp->tld)(sp);
- /* fall through */
+ /* FALLTHROUGH */
case STATE_REQ_SENT:
case STATE_ACK_RCVD:
case STATE_ACK_SENT:
@@ -4158,7 +4158,7 @@ sppp_chap_TO(void *cookie)
case STATE_OPENED:
/* TO* event */
sp->rst_counter[IDX_CHAP] = sp->lcp.max_configure;
- /* fall through */
+ /* FALLTHROUGH */
case STATE_REQ_SENT:
chap.scr(sp);
/* sppp_cp_change_state() will restart the timer */
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c
index 98a042c..37d351b 100644
--- a/sys/net/rtsock.c
+++ b/sys/net/rtsock.c
@@ -443,9 +443,7 @@ route_output(m, so)
rt->rt_ifa->ifa_rtrequest(RTM_ADD, rt, &info);
if (genmask)
rt->rt_genmask = genmask;
- /*
- * Fall into
- */
+ /* FALLTHROUGH */
case RTM_LOCK:
rt->rt_rmx.rmx_locks &= ~(rtm->rtm_inits);
rt->rt_rmx.rmx_locks |=
diff --git a/sys/net/slcompress.c b/sys/net/slcompress.c
index d72d02d..f1d2557 100644
--- a/sys/net/slcompress.c
+++ b/sys/net/slcompress.c
@@ -333,7 +333,7 @@ sl_compress_tcp(m, ip, comp, compress_cid)
ntohs(cs->cs_ip.ip_len) == hlen)
break;
- /* (fall through) */
+ /* FALLTHROUGH */
case SPECIAL_I:
case SPECIAL_D:
OpenPOWER on IntegriCloud