Replace various spelling with FALLTHROUGH which is lint()able

This commit is contained in:
Philippe Charnier
2002-08-25 13:23:09 +00:00
parent 7fed38d0a0
commit 93b0017f88
55 changed files with 103 additions and 105 deletions
+1 -1
View File
@@ -1012,7 +1012,7 @@ alpha_print_instruction(iadr, i, showregs)
case op_sts: case op_sts:
case op_stt: case op_stt:
fstore = TRUE; fstore = TRUE;
/* fall through */ /* FALLTHROUGH */
case op_ldl: case op_ldl:
case op_ldq: case op_ldq:
case op_ldl_l: case op_ldl_l:
+1 -1
View File
@@ -404,7 +404,7 @@ trap(a0, a1, a2, entry, framep)
ucode = a0; /* exception summary */ ucode = a0; /* exception summary */
break; break;
} }
/* FALLTHROUTH */ /* FALLTHROUGH */
case ALPHA_IF_CODE_BPT: case ALPHA_IF_CODE_BPT:
case ALPHA_IF_CODE_BUGCHK: case ALPHA_IF_CODE_BUGCHK:
if (td->td_md.md_flags & (MDTD_STEP1|MDTD_STEP2)) { if (td->td_md.md_flags & (MDTD_STEP1|MDTD_STEP2)) {
+1 -1
View File
@@ -593,7 +593,7 @@ trap(frame)
goto out; goto out;
} }
/* /*
* Fall through (TRCTRAP kernel mode, kernel address) * FALLTHROUGH (TRCTRAP kernel mode, kernel address)
*/ */
case T_BPTFLT: case T_BPTFLT:
/* /*
+2 -2
View File
@@ -6456,7 +6456,7 @@ xpt_set_transfer_settings(struct ccb_trans_settings *cts, struct cam_ed *device,
|| (inq_data->flags & SID_WBus32) != 0) || (inq_data->flags & SID_WBus32) != 0)
&& (cpi.hba_inquiry & PI_WIDE_32) != 0) && (cpi.hba_inquiry & PI_WIDE_32) != 0)
break; break;
/* Fall Through to 16-bit */ /* FALLTHROUGH to 16-bit */
case MSG_EXT_WDTR_BUS_16_BIT: case MSG_EXT_WDTR_BUS_16_BIT:
if (((device->flags & CAM_DEV_INQUIRY_DATA_VALID) == 0 if (((device->flags & CAM_DEV_INQUIRY_DATA_VALID) == 0
|| (inq_data->flags & SID_WBus16) != 0) || (inq_data->flags & SID_WBus16) != 0)
@@ -6464,7 +6464,7 @@ xpt_set_transfer_settings(struct ccb_trans_settings *cts, struct cam_ed *device,
cts->bus_width = MSG_EXT_WDTR_BUS_16_BIT; cts->bus_width = MSG_EXT_WDTR_BUS_16_BIT;
break; break;
} }
/* Fall Through to 8-bit */ /* FALLTHROUGH to 8-bit */
default: /* New bus width?? */ default: /* New bus width?? */
case MSG_EXT_WDTR_BUS_8_BIT: case MSG_EXT_WDTR_BUS_8_BIT:
/* All targets can do this */ /* All targets can do this */
+2 -2
View File
@@ -645,7 +645,7 @@ doinitialize(struct psm_softc *sc, mousemode_t *mode)
if (verbose) if (verbose)
log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n", log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n",
sc->unit, i); sc->unit, i);
/* fall though */ /* FALLTHROUGH */
case 0: /* no error */ case 0: /* no error */
break; break;
case -1: /* time out */ case -1: /* time out */
@@ -1031,7 +1031,7 @@ psmprobe(device_t dev)
if (verbose) if (verbose)
printf("psm%d: strange result for test aux port (%d).\n", printf("psm%d: strange result for test aux port (%d).\n",
unit, i); unit, i);
/* fall though */ /* FALLTHROUGH */
case 0: /* no error */ case 0: /* no error */
break; break;
case -1: /* time out */ case -1: /* time out */
+1 -1
View File
@@ -342,7 +342,7 @@ ppiread(dev_t dev, struct uio *uio, int ioflag)
switch (ppb_1284_get_state(ppbus)) { switch (ppb_1284_get_state(ppbus)) {
case PPB_PERIPHERAL_IDLE: case PPB_PERIPHERAL_IDLE:
ppb_peripheral_terminate(ppbus, 0); ppb_peripheral_terminate(ppbus, 0);
/* fall throught */ /* FALLTHROUGH */
case PPB_FORWARD_IDLE: case PPB_FORWARD_IDLE:
/* if can't negociate NIBBLE mode then try BYTE mode, /* if can't negociate NIBBLE mode then try BYTE mode,
+1 -1
View File
@@ -1357,7 +1357,7 @@ send_cmd(u_int unit, u_char cmd, u_int nargs, ...)
switch ((rc = inb(reg)) & 0xf0) { switch ((rc = inb(reg)) & 0xf0) {
case 0x20: case 0x20:
rc = inb(reg); rc = inb(reg);
/* FALL TROUGH */ /* FALLTHROUGH */
case 0x50: case 0x50:
XDEBUG(1, ("scd%d: DEBUG: send_cmd: drive_error=0x%x\n", unit, rc)); XDEBUG(1, ("scd%d: DEBUG: send_cmd: drive_error=0x%x\n", unit, rc));
return -rc; return -rc;
+2 -2
View File
@@ -181,7 +181,7 @@ cd9660_rrip_slink(p,ana)
case ISO_SUSP_CFLAG_CONTINUE: case ISO_SUSP_CFLAG_CONTINUE:
cont = 1; cont = 1;
/* fall thru */ /* FALLTHROUGH */
case 0: case 0:
/* Inserting component */ /* Inserting component */
wlen = isonum_711(pcomp->clen); wlen = isonum_711(pcomp->clen);
@@ -253,7 +253,7 @@ cd9660_rrip_altname(p,ana)
case ISO_SUSP_CFLAG_CONTINUE: case ISO_SUSP_CFLAG_CONTINUE:
cont = 1; cont = 1;
/* fall thru */ /* FALLTHROUGH */
case 0: case 0:
/* Inserting component */ /* Inserting component */
wlen = isonum_711(p->h.length) - 5; wlen = isonum_711(p->h.length) - 5;
+1 -1
View File
@@ -593,7 +593,7 @@ trap(frame)
goto out; goto out;
} }
/* /*
* Fall through (TRCTRAP kernel mode, kernel address) * FALLTHROUGH (TRCTRAP kernel mode, kernel address)
*/ */
case T_BPTFLT: case T_BPTFLT:
/* /*
+1 -1
View File
@@ -264,7 +264,7 @@ ibcs2_sigsys(td, uap)
sa.sa_flags = 0; sa.sa_flags = 0;
goto ibcs2_sigset; goto ibcs2_sigset;
} }
/* else fallthrough to sighold */ /* else FALLTHROUGH to sighold */
case IBCS2_SIGHOLD_MASK: case IBCS2_SIGHOLD_MASK:
{ {
+1 -1
View File
@@ -1357,7 +1357,7 @@ send_cmd(u_int unit, u_char cmd, u_int nargs, ...)
switch ((rc = inb(reg)) & 0xf0) { switch ((rc = inb(reg)) & 0xf0) {
case 0x20: case 0x20:
rc = inb(reg); rc = inb(reg);
/* FALL TROUGH */ /* FALLTHROUGH */
case 0x50: case 0x50:
XDEBUG(1, ("scd%d: DEBUG: send_cmd: drive_error=0x%x\n", unit, rc)); XDEBUG(1, ("scd%d: DEBUG: send_cmd: drive_error=0x%x\n", unit, rc));
return -rc; return -rc;
+1 -1
View File
@@ -2676,7 +2676,7 @@ static int stl_initeio(stlbrd_t *brdp)
switch (status & EIO_IDBITMASK) { switch (status & EIO_IDBITMASK) {
case EIO_8PORTM: case EIO_8PORTM:
brdp->clk = EIO_CLK8M; brdp->clk = EIO_CLK8M;
/* fall thru */ /* FALLTHROUGH */
case EIO_8PORTRS: case EIO_8PORTRS:
case EIO_8PORTDI: case EIO_8PORTDI:
brdp->nrports = 8; brdp->nrports = 8;
+1 -1
View File
@@ -507,7 +507,7 @@ i4brbchioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct thread *td)
i4b_l4_dialoutnumber(BDRV_RBCH, unit, l, (char *)data); i4b_l4_dialoutnumber(BDRV_RBCH, unit, l, (char *)data);
break; break;
} }
/* fall through to SDTR */ /* FALLTHROUGH to SDTR */
} }
case TIOCSDTR: /* Set DTR */ case TIOCSDTR: /* Set DTR */
+2 -2
View File
@@ -645,7 +645,7 @@ doinitialize(struct psm_softc *sc, mousemode_t *mode)
if (verbose) if (verbose)
log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n", log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n",
sc->unit, i); sc->unit, i);
/* fall though */ /* FALLTHROUGH */
case 0: /* no error */ case 0: /* no error */
break; break;
case -1: /* time out */ case -1: /* time out */
@@ -1031,7 +1031,7 @@ psmprobe(device_t dev)
if (verbose) if (verbose)
printf("psm%d: strange result for test aux port (%d).\n", printf("psm%d: strange result for test aux port (%d).\n",
unit, i); unit, i);
/* fall though */ /* FALLTHROUGH */
case 0: /* no error */ case 0: /* no error */
break; break;
case -1: /* time out */ case -1: /* time out */
+2 -2
View File
@@ -181,7 +181,7 @@ cd9660_rrip_slink(p,ana)
case ISO_SUSP_CFLAG_CONTINUE: case ISO_SUSP_CFLAG_CONTINUE:
cont = 1; cont = 1;
/* fall thru */ /* FALLTHROUGH */
case 0: case 0:
/* Inserting component */ /* Inserting component */
wlen = isonum_711(pcomp->clen); wlen = isonum_711(pcomp->clen);
@@ -253,7 +253,7 @@ cd9660_rrip_altname(p,ana)
case ISO_SUSP_CFLAG_CONTINUE: case ISO_SUSP_CFLAG_CONTINUE:
cont = 1; cont = 1;
/* fall thru */ /* FALLTHROUGH */
case 0: case 0:
/* Inserting component */ /* Inserting component */
wlen = isonum_711(p->h.length) - 5; wlen = isonum_711(p->h.length) - 5;
+1 -1
View File
@@ -349,7 +349,7 @@ fcntl(td, uap)
case F_SETLKW: case F_SETLKW:
flg |= F_WAIT; flg |= F_WAIT;
/* Fall into F_SETLK */ /* FALLTHROUGH F_SETLK */
case F_SETLK: case F_SETLK:
if (fp->f_type != DTYPE_VNODE) { if (fp->f_type != DTYPE_VNODE) {
+3 -3
View File
@@ -272,7 +272,7 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line)
* An alternative would be to fail with EDEADLK. * An alternative would be to fail with EDEADLK.
*/ */
sharelock(lkp, 1); sharelock(lkp, 1);
/* fall into downgrade */ /* FALLTHROUGH downgrade */
case LK_DOWNGRADE: case LK_DOWNGRADE:
KASSERT(lkp->lk_lockholder == pid && lkp->lk_exclusivecount != 0, KASSERT(lkp->lk_lockholder == pid && lkp->lk_exclusivecount != 0,
@@ -298,7 +298,7 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line)
error = EBUSY; error = EBUSY;
break; break;
} }
/* fall into normal upgrade */ /* FALLTHROUGH normal upgrade */
case LK_UPGRADE: case LK_UPGRADE:
/* /*
@@ -353,7 +353,7 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line)
if ( (lkp->lk_flags & (LK_SHARE_NONZERO|LK_WAIT_NONZERO)) == if ( (lkp->lk_flags & (LK_SHARE_NONZERO|LK_WAIT_NONZERO)) ==
LK_WAIT_NONZERO) LK_WAIT_NONZERO)
wakeup((void *)lkp); wakeup((void *)lkp);
/* fall into exclusive request */ /* FALLTHROUGH exclusive request */
case LK_EXCLUSIVE: case LK_EXCLUSIVE:
if (lkp->lk_lockholder == pid && pid != LK_KERNPROC) { if (lkp->lk_lockholder == pid && pid != LK_KERNPROC) {
+1 -1
View File
@@ -584,7 +584,7 @@ ptrace(struct thread *td, struct ptrace_args *uap)
case PT_WRITE_I: case PT_WRITE_I:
case PT_WRITE_D: case PT_WRITE_D:
write = 1; write = 1;
/* fallthrough */ /* FALLTHROUGH */
case PT_READ_I: case PT_READ_I:
case PT_READ_D: case PT_READ_D:
PROC_UNLOCK(p); PROC_UNLOCK(p);
+2 -2
View File
@@ -1740,12 +1740,12 @@ getnewbuf(int slpflag, int slptimeo, int size, int maxsize)
nqindex = QUEUE_EMPTYKVA; nqindex = QUEUE_EMPTYKVA;
if ((nbp = TAILQ_FIRST(&bufqueues[QUEUE_EMPTYKVA]))) if ((nbp = TAILQ_FIRST(&bufqueues[QUEUE_EMPTYKVA])))
break; break;
/* fall through */ /* FALLTHROUGH */
case QUEUE_EMPTYKVA: case QUEUE_EMPTYKVA:
nqindex = QUEUE_CLEAN; nqindex = QUEUE_CLEAN;
if ((nbp = TAILQ_FIRST(&bufqueues[QUEUE_CLEAN]))) if ((nbp = TAILQ_FIRST(&bufqueues[QUEUE_CLEAN])))
break; break;
/* fall through */ /* FALLTHROUGH */
case QUEUE_CLEAN: case QUEUE_CLEAN:
/* /*
* nbp is NULL. * nbp is NULL.
+3 -3
View File
@@ -597,12 +597,12 @@ cluster_wbuild_wb(struct vnode *vp, long size, daddr_t start_lbn, int len)
if (start_lbn < len) if (start_lbn < len)
break; break;
start_lbn -= len; start_lbn -= len;
/* fall through */ /* FALLTHROUGH */
case 1: case 1:
r = cluster_wbuild(vp, size, start_lbn, len); r = cluster_wbuild(vp, size, start_lbn, len);
/* fall through */ /* FALLTHROUGH */
default: default:
/* fall through */ /* FALLTHROUGH */
break; break;
} }
return(r); return(r);
+1 -1
View File
@@ -1761,7 +1761,7 @@ reassignbuf(bp, newvp)
delay = metadelay; delay = metadelay;
break; break;
} }
/* fall through */ /* FALLTHROUGH */
default: default:
delay = filedelay; delay = filedelay;
} }
+1 -1
View File
@@ -757,7 +757,7 @@ vn_ioctl(fp, com, data, active_cred, td)
} }
if (com == FIONBIO || com == FIOASYNC) /* XXX */ if (com == FIONBIO || com == FIOASYNC) /* XXX */
return (0); /* XXX */ return (0); /* XXX */
/* fall into ... */ /* FALLTHROUGH */
default: default:
#if 0 #if 0
+7 -7
View File
@@ -1165,7 +1165,7 @@ sppp_ioctl(struct ifnet *ifp, IOCTL_CMD_T cmd, void *data)
case SIOCSIFADDR: case SIOCSIFADDR:
/* set the interface "up" when assigning an IP address */ /* set the interface "up" when assigning an IP address */
ifp->if_flags |= IFF_UP; ifp->if_flags |= IFF_UP;
/* fall through... */ /* FALLTHROUGH */
case SIOCSIFFLAGS: case SIOCSIFFLAGS:
going_up = ifp->if_flags & IFF_UP && 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: case STATE_OPENED:
(cp->tld)(sp); (cp->tld)(sp);
(cp->scr)(sp); (cp->scr)(sp);
/* fall through... */ /* FALLTHROUGH */
case STATE_ACK_SENT: case STATE_ACK_SENT:
case STATE_REQ_SENT: case STATE_REQ_SENT:
/* /*
@@ -1560,7 +1560,7 @@ sppp_cp_input(const struct cp *cp, struct sppp *sp, struct mbuf *m)
break; break;
case STATE_OPENED: case STATE_OPENED:
(cp->tld)(sp); (cp->tld)(sp);
/* fall through */ /* FALLTHROUGH */
case STATE_ACK_RCVD: case STATE_ACK_RCVD:
(cp->scr)(sp); (cp->scr)(sp);
sppp_cp_change_state(cp, sp, STATE_REQ_SENT); 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; break;
case STATE_OPENED: case STATE_OPENED:
(cp->tld)(sp); (cp->tld)(sp);
/* fall through */ /* FALLTHROUGH */
case STATE_ACK_RCVD: case STATE_ACK_RCVD:
sppp_cp_change_state(cp, sp, STATE_REQ_SENT); sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
(cp->scr)(sp); (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_RCVD:
case STATE_ACK_SENT: case STATE_ACK_SENT:
sppp_cp_change_state(cp, sp, STATE_REQ_SENT); sppp_cp_change_state(cp, sp, STATE_REQ_SENT);
/* fall through */ /* FALLTHROUGH */
case STATE_CLOSED: case STATE_CLOSED:
case STATE_STOPPED: case STATE_STOPPED:
case STATE_CLOSING: case STATE_CLOSING:
@@ -2002,7 +2002,7 @@ sppp_close_event(const struct cp *cp, struct sppp *sp)
break; break;
case STATE_OPENED: case STATE_OPENED:
(cp->tld)(sp); (cp->tld)(sp);
/* fall through */ /* FALLTHROUGH */
case STATE_REQ_SENT: case STATE_REQ_SENT:
case STATE_ACK_RCVD: case STATE_ACK_RCVD:
case STATE_ACK_SENT: case STATE_ACK_SENT:
@@ -4158,7 +4158,7 @@ sppp_chap_TO(void *cookie)
case STATE_OPENED: case STATE_OPENED:
/* TO* event */ /* TO* event */
sp->rst_counter[IDX_CHAP] = sp->lcp.max_configure; sp->rst_counter[IDX_CHAP] = sp->lcp.max_configure;
/* fall through */ /* FALLTHROUGH */
case STATE_REQ_SENT: case STATE_REQ_SENT:
chap.scr(sp); chap.scr(sp);
/* sppp_cp_change_state() will restart the timer */ /* sppp_cp_change_state() will restart the timer */
+1 -3
View File
@@ -443,9 +443,7 @@ route_output(m, so)
rt->rt_ifa->ifa_rtrequest(RTM_ADD, rt, &info); rt->rt_ifa->ifa_rtrequest(RTM_ADD, rt, &info);
if (genmask) if (genmask)
rt->rt_genmask = genmask; rt->rt_genmask = genmask;
/* /* FALLTHROUGH */
* Fall into
*/
case RTM_LOCK: case RTM_LOCK:
rt->rt_rmx.rmx_locks &= ~(rtm->rtm_inits); rt->rt_rmx.rmx_locks &= ~(rtm->rtm_inits);
rt->rt_rmx.rmx_locks |= rt->rt_rmx.rmx_locks |=
+1 -1
View File
@@ -333,7 +333,7 @@ sl_compress_tcp(m, ip, comp, compress_cid)
ntohs(cs->cs_ip.ip_len) == hlen) ntohs(cs->cs_ip.ip_len) == hlen)
break; break;
/* (fall through) */ /* FALLTHROUGH */
case SPECIAL_I: case SPECIAL_I:
case SPECIAL_D: case SPECIAL_D:
+1 -1
View File
@@ -2956,7 +2956,7 @@ atm_cm_cpcs_upper(cmd, tok, arg1, arg2)
case CPCS_UABORT_SIG: case CPCS_UABORT_SIG:
case CPCS_PABORT_SIG: case CPCS_PABORT_SIG:
/* /*
* We don't support these (yet), so just fall thru... * We don't support these (yet), so just FALLTHROUGH
*/ */
default: default:
+1 -1
View File
@@ -331,7 +331,7 @@ static int pim_assert;
switch (xxs) { \ switch (xxs) { \
case 2: \ case 2: \
delta += 1000000; \ delta += 1000000; \
/* fall through */ \ /* FALLTHROUGH */ \
case 1: \ case 1: \
delta += 1000000; \ delta += 1000000; \
break; \ break; \
+1 -1
View File
@@ -1629,7 +1629,7 @@ tcp_input(m, off0)
(void) tcp_reass(tp, (struct tcphdr *)0, 0, (void) tcp_reass(tp, (struct tcphdr *)0, 0,
(struct mbuf *)0); (struct mbuf *)0);
tp->snd_wl1 = th->th_seq - 1; tp->snd_wl1 = th->th_seq - 1;
/* fall into ... */ /* FALLTHROUGH */
/* /*
* In ESTABLISHED state: drop duplicate ACKs; ACK out of range * In ESTABLISHED state: drop duplicate ACKs; ACK out of range
+1 -1
View File
@@ -1629,7 +1629,7 @@ tcp_input(m, off0)
(void) tcp_reass(tp, (struct tcphdr *)0, 0, (void) tcp_reass(tp, (struct tcphdr *)0, 0,
(struct mbuf *)0); (struct mbuf *)0);
tp->snd_wl1 = th->th_seq - 1; tp->snd_wl1 = th->th_seq - 1;
/* fall into ... */ /* FALLTHROUGH */
/* /*
* In ESTABLISHED state: drop duplicate ACKs; ACK out of range * In ESTABLISHED state: drop duplicate ACKs; ACK out of range
+1 -1
View File
@@ -137,7 +137,7 @@ ipxipioctl(ifp, cmd, data)
case SIOCSIFADDR: case SIOCSIFADDR:
ifp->if_flags |= IFF_UP; ifp->if_flags |= IFF_UP;
/* fall into: */ /* FALLTHROUGH */
case SIOCSIFDSTADDR: case SIOCSIFDSTADDR:
/* /*
+1 -1
View File
@@ -131,7 +131,7 @@ nsipioctl(ifp, cmd, data)
case SIOCSIFADDR: case SIOCSIFADDR:
ifp->if_flags |= IFF_UP; ifp->if_flags |= IFF_UP;
/* fall into: */ /* FALLTHROUGH */
case SIOCSIFDSTADDR: case SIOCSIFDSTADDR:
/* /*
+1 -1
View File
@@ -1458,7 +1458,7 @@ spp_usrreq(so, req, m, nam, controlp)
break; break;
} }
cb->s_oobflags |= SF_SOOB; cb->s_oobflags |= SF_SOOB;
/* fall into */ /* FALLTHROUGH */
case PRU_SEND: case PRU_SEND:
if (controlp) { if (controlp) {
u_short *p = mtod(controlp, u_short *); u_short *p = mtod(controlp, u_short *);
+5 -5
View File
@@ -3128,7 +3128,7 @@ static void ncr_script_copy_and_bind (ncb_p np, ncrcmd *src, ncrcmd *dst, int le
new = old; new = old;
break; break;
} }
/* fall through */ /* FALLTHROUGH */
default: default:
panic("ncr_script_copy_and_bind: weird relocation %x @ %d\n", old, (int)(src - start)); panic("ncr_script_copy_and_bind: weird relocation %x @ %d\n", old, (int)(src - start));
break; break;
@@ -4611,14 +4611,14 @@ ncr_wakeup (ncb_p np, u_long code)
case HS_DISCONNECT: case HS_DISCONNECT:
if(DEBUG_FLAGS & DEBUG_TINY) printf ("D"); if(DEBUG_FLAGS & DEBUG_TINY) printf ("D");
/* fall through */ /* FALLTHROUGH */
case HS_BUSY: case HS_BUSY:
case HS_NEGOTIATE: case HS_NEGOTIATE:
if (!code) break; if (!code) break;
cp->host_status = code; cp->host_status = code;
/* fall through */ /* FALLTHROUGH */
default: default:
ncr_complete (np, cp); ncr_complete (np, cp);
@@ -5163,7 +5163,7 @@ ncr_timeout (void *arg)
case HS_BUSY: case HS_BUSY:
case HS_NEGOTIATE: case HS_NEGOTIATE:
/* fall through */ /* FALLTHROUGH */
case HS_DISCONNECT: case HS_DISCONNECT:
cp->host_status=HS_TIMEOUT; cp->host_status=HS_TIMEOUT;
}; };
@@ -6027,7 +6027,7 @@ void ncr_int_sir (ncb_p np)
*/ */
OUTB (HS_PRT, HS_BUSY); OUTB (HS_PRT, HS_BUSY);
/* fall through */ /* FALLTHROUGH */
case SIR_NEGO_PROTO: case SIR_NEGO_PROTO:
/*------------------------------------------------------- /*-------------------------------------------------------
+1 -1
View File
@@ -122,7 +122,7 @@ ufs_quotactl(mp, cmds, uid, arg, td)
case Q_GETQUOTA: case Q_GETQUOTA:
if (uid == td->td_ucred->cr_ruid) if (uid == td->td_ucred->cr_ruid)
break; break;
/* fall through */ /* FALLTHROUGH */
default: default:
if ((error = suser_cred(td->td_ucred, PRISON_ROOT)) != 0) if ((error = suser_cred(td->td_ucred, PRISON_ROOT)) != 0)
return (error); return (error);
+1 -1
View File
@@ -1221,7 +1221,7 @@ int n;
case -1: case -1:
if (need_lf == 0) if (need_lf == 0)
break; break;
/* fall through */ /* FALLTHROUGH */
case '\n': case '\n':
write(STDERR_FILENO, "\n", 1); write(STDERR_FILENO, "\n", 1);
need_lf = 0; need_lf = 0;
+1 -1
View File
@@ -505,7 +505,7 @@ sigbus(struct sigframe *sf)
tty_pause(); tty_pause();
goto out; goto out;
/* } */ /* } */
/* FALLTHRU */ /* FALLTHROUGH */
default: default:
dump_regs(REGS); dump_regs(REGS);
+1 -1
View File
@@ -3176,7 +3176,7 @@ static int input()
/* Reset buffer status. */ /* Reset buffer status. */
yyrestart( yyin ); yyrestart( yyin );
/* fall through */ /* FALLTHROUGH */
case EOB_ACT_END_OF_FILE: case EOB_ACT_END_OF_FILE:
{ {
+1 -1
View File
@@ -488,7 +488,7 @@ skin(name)
lastsp = 0; lastsp = 0;
break; break;
} }
/* Fall into . . . */ /* FALLTHROUGH */
default: default:
if (lastsp) { if (lastsp) {
+1 -1
View File
@@ -1519,7 +1519,7 @@ telrcv(void)
TTYADD(c); TTYADD(c);
break; break;
} }
/* Else, fall through */ /* FALLTHROUGH */
case TS_DATA: case TS_DATA:
if (c == IAC) { if (c == IAC) {
+1 -1
View File
@@ -544,7 +544,7 @@ char *(*get_userid)();
sprintf(status, "%.6s", pp->ki_wmesg); sprintf(status, "%.6s", pp->ki_wmesg);
break; break;
} }
/* fall through */ /* FALLTHROUGH */
default: default:
if (state >= 0 && if (state >= 0 &&
+1 -1
View File
@@ -225,7 +225,7 @@ stime_arg1(arg, tvp)
t->tm_year = ATOI2(arg); t->tm_year = ATOI2(arg);
t->tm_year *= 100; t->tm_year *= 100;
yearset = 1; yearset = 1;
/* FALLTHOUGH */ /* FALLTHROUGH */
case 10: /* YYMMDDhhmm */ case 10: /* YYMMDDhhmm */
if (yearset) { if (yearset) {
yearset = ATOI2(arg); yearset = ATOI2(arg);
+1 -1
View File
@@ -134,7 +134,7 @@ main(argc, argv)
default: default:
warnx("trouble reading termcap"); warnx("trouble reading termcap");
/* fall through to ... */ /* FALLTHROUGH */
case 0: case 0:
/* No such terminal type - assume dumb */ /* No such terminal type - assume dumb */
+2 -2
View File
@@ -283,7 +283,7 @@ nextc()
s = cptr; s = cptr;
break; break;
} }
/* fall through */ /* FALLTHROUGH */
default: default:
cptr = s; cptr = s;
@@ -511,7 +511,7 @@ copy_text()
FREE(t_line); FREE(t_line);
return; return;
} }
/* fall through */ /* FALLTHROUGH */
default: default:
putc(c, f); putc(c, f);