Replace various spelling with FALLTHROUGH which is lint()able
This commit is contained in:
parent
7fed38d0a0
commit
93b0017f88
@ -1012,7 +1012,7 @@ alpha_print_instruction(iadr, i, showregs)
|
||||
case op_sts:
|
||||
case op_stt:
|
||||
fstore = TRUE;
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
case op_ldl:
|
||||
case op_ldq:
|
||||
case op_ldl_l:
|
||||
|
@ -404,7 +404,7 @@ trap(a0, a1, a2, entry, framep)
|
||||
ucode = a0; /* exception summary */
|
||||
break;
|
||||
}
|
||||
/* FALLTHROUTH */
|
||||
/* FALLTHROUGH */
|
||||
case ALPHA_IF_CODE_BPT:
|
||||
case ALPHA_IF_CODE_BUGCHK:
|
||||
if (td->td_md.md_flags & (MDTD_STEP1|MDTD_STEP2)) {
|
||||
|
@ -318,7 +318,7 @@ trap(frame)
|
||||
goto user;
|
||||
break;
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case T_SEGNPFLT: /* segment not present fault */
|
||||
case T_TSSFLT: /* invalid TSS fault */
|
||||
@ -593,7 +593,7 @@ trap(frame)
|
||||
goto out;
|
||||
}
|
||||
/*
|
||||
* Fall through (TRCTRAP kernel mode, kernel address)
|
||||
* FALLTHROUGH (TRCTRAP kernel mode, kernel address)
|
||||
*/
|
||||
case T_BPTFLT:
|
||||
/*
|
||||
@ -635,7 +635,7 @@ trap(frame)
|
||||
goto out;
|
||||
} else if (panic_on_nmi == 0)
|
||||
goto out;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
#endif /* POWERFAIL_NMI */
|
||||
#endif /* DEV_ISA */
|
||||
}
|
||||
|
@ -6456,7 +6456,7 @@ xpt_set_transfer_settings(struct ccb_trans_settings *cts, struct cam_ed *device,
|
||||
|| (inq_data->flags & SID_WBus32) != 0)
|
||||
&& (cpi.hba_inquiry & PI_WIDE_32) != 0)
|
||||
break;
|
||||
/* Fall Through to 16-bit */
|
||||
/* FALLTHROUGH to 16-bit */
|
||||
case MSG_EXT_WDTR_BUS_16_BIT:
|
||||
if (((device->flags & CAM_DEV_INQUIRY_DATA_VALID) == 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;
|
||||
break;
|
||||
}
|
||||
/* Fall Through to 8-bit */
|
||||
/* FALLTHROUGH to 8-bit */
|
||||
default: /* New bus width?? */
|
||||
case MSG_EXT_WDTR_BUS_8_BIT:
|
||||
/* All targets can do this */
|
||||
|
@ -831,7 +831,7 @@ atkbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
state->ks_state &= ~LOCK_MASK;
|
||||
state->ks_state |= KBD_LED_VAL(kbd);
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case K_RAW:
|
||||
case K_CODE:
|
||||
if (state->ks_mode != *(int *)arg) {
|
||||
@ -915,7 +915,7 @@ atkbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
case PIO_KEYMAPENT: /* set keyboard translation table entry */
|
||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||
state->ks_accents = 0;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
splx(s);
|
||||
return genkbd_commonioctl(kbd, cmd, arg);
|
||||
|
@ -645,7 +645,7 @@ doinitialize(struct psm_softc *sc, mousemode_t *mode)
|
||||
if (verbose)
|
||||
log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n",
|
||||
sc->unit, i);
|
||||
/* fall though */
|
||||
/* FALLTHROUGH */
|
||||
case 0: /* no error */
|
||||
break;
|
||||
case -1: /* time out */
|
||||
@ -1031,7 +1031,7 @@ psmprobe(device_t dev)
|
||||
if (verbose)
|
||||
printf("psm%d: strange result for test aux port (%d).\n",
|
||||
unit, i);
|
||||
/* fall though */
|
||||
/* FALLTHROUGH */
|
||||
case 0: /* no error */
|
||||
break;
|
||||
case -1: /* time out */
|
||||
@ -2174,7 +2174,7 @@ psmintr(void *arg)
|
||||
break;
|
||||
case 0:
|
||||
/* device type packet - shouldn't happen */
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
x = y = 0;
|
||||
ms.button = ms.obutton;
|
||||
|
@ -1336,7 +1336,7 @@ tulip_mii_autonegotiate(
|
||||
sc->tulip_probe_timeout = 3000;
|
||||
sc->tulip_intrmask |= TULIP_STS_ABNRMLINTR|TULIP_STS_NORMALINTR;
|
||||
sc->tulip_probe_state = TULIP_PROBE_PHYRESET;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
}
|
||||
case TULIP_PROBE_PHYRESET: {
|
||||
u_int32_t status;
|
||||
@ -1378,7 +1378,7 @@ tulip_mii_autonegotiate(
|
||||
#endif
|
||||
sc->tulip_probe_state = TULIP_PROBE_PHYAUTONEG;
|
||||
sc->tulip_probe_timeout = 3000;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
}
|
||||
case TULIP_PROBE_PHYAUTONEG: {
|
||||
u_int32_t status = tulip_mii_readreg(sc, phyaddr, PHYREG_STATUS);
|
||||
|
@ -1537,7 +1537,7 @@ vga_set_mode(video_adapter_t *adp, int mode)
|
||||
#ifdef VGA_WIDTH90
|
||||
case M_VGA_C90x60: case M_VGA_M90x60:
|
||||
set_width90(¶ms);
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
#endif
|
||||
case M_VGA_C80x60: case M_VGA_M80x60:
|
||||
params.regs[2] = 0x08;
|
||||
@ -1547,7 +1547,7 @@ vga_set_mode(video_adapter_t *adp, int mode)
|
||||
#ifdef VGA_WIDTH90
|
||||
case M_VGA_C90x30: case M_VGA_M90x30:
|
||||
set_width90(¶ms);
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
#endif
|
||||
case M_VGA_C80x30: case M_VGA_M80x30:
|
||||
params.regs[19] = 0x4f;
|
||||
@ -1564,7 +1564,7 @@ vga_set_mode(video_adapter_t *adp, int mode)
|
||||
#ifdef VGA_WIDTH90
|
||||
case M_VGA_C90x43: case M_VGA_M90x43:
|
||||
set_width90(¶ms);
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
#endif
|
||||
case M_ENH_C80x43: case M_ENH_B80x43:
|
||||
params.regs[28] = 87;
|
||||
@ -1573,7 +1573,7 @@ vga_set_mode(video_adapter_t *adp, int mode)
|
||||
#ifdef VGA_WIDTH90
|
||||
case M_VGA_C90x50: case M_VGA_M90x50:
|
||||
set_width90(¶ms);
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
#endif
|
||||
case M_VGA_C80x50: case M_VGA_M80x50:
|
||||
special_80x50:
|
||||
@ -1584,7 +1584,7 @@ vga_set_mode(video_adapter_t *adp, int mode)
|
||||
#ifdef VGA_WIDTH90
|
||||
case M_VGA_C90x25: case M_VGA_M90x25:
|
||||
set_width90(¶ms);
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
#endif
|
||||
case M_VGA_C40x25: case M_VGA_C80x25:
|
||||
case M_VGA_M80x25:
|
||||
|
@ -831,7 +831,7 @@ atkbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
state->ks_state &= ~LOCK_MASK;
|
||||
state->ks_state |= KBD_LED_VAL(kbd);
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case K_RAW:
|
||||
case K_CODE:
|
||||
if (state->ks_mode != *(int *)arg) {
|
||||
@ -915,7 +915,7 @@ atkbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
case PIO_KEYMAPENT: /* set keyboard translation table entry */
|
||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||
state->ks_accents = 0;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
splx(s);
|
||||
return genkbd_commonioctl(kbd, cmd, arg);
|
||||
|
@ -1149,7 +1149,7 @@ pdq_stop(
|
||||
pdq_do_port_control(csrs, PDQ_PCTL_SUB_CMD);
|
||||
state = PDQ_PSTS_ADAPTER_STATE(PDQ_CSR_READ(csrs, csr_port_status));
|
||||
PDQ_ASSERT(state == PDQS_DMA_AVAILABLE);
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
}
|
||||
case PDQS_DMA_AVAILABLE: {
|
||||
PDQ_CSR_WRITE(csrs, csr_port_data_a, 0);
|
||||
@ -1157,7 +1157,7 @@ pdq_stop(
|
||||
pdq_do_port_control(csrs, PDQ_PCTL_DMA_UNINIT);
|
||||
state = PDQ_PSTS_ADAPTER_STATE(PDQ_CSR_READ(csrs, csr_port_status));
|
||||
PDQ_ASSERT(state == PDQS_DMA_UNAVAILABLE);
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
}
|
||||
case PDQS_DMA_UNAVAILABLE: {
|
||||
break;
|
||||
|
@ -342,7 +342,7 @@ ppiread(dev_t dev, struct uio *uio, int ioflag)
|
||||
switch (ppb_1284_get_state(ppbus)) {
|
||||
case PPB_PERIPHERAL_IDLE:
|
||||
ppb_peripheral_terminate(ppbus, 0);
|
||||
/* fall throught */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case PPB_FORWARD_IDLE:
|
||||
/* if can't negociate NIBBLE mode then try BYTE mode,
|
||||
|
@ -1357,7 +1357,7 @@ send_cmd(u_int unit, u_char cmd, u_int nargs, ...)
|
||||
switch ((rc = inb(reg)) & 0xf0) {
|
||||
case 0x20:
|
||||
rc = inb(reg);
|
||||
/* FALL TROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case 0x50:
|
||||
XDEBUG(1, ("scd%d: DEBUG: send_cmd: drive_error=0x%x\n", unit, rc));
|
||||
return -rc;
|
||||
|
@ -608,7 +608,7 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct thread *
|
||||
case SW_TEXT_80x25: case SW_TEXT_80x30:
|
||||
case SW_TEXT_80x43: case SW_TEXT_80x50:
|
||||
case SW_TEXT_80x60:
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
/* VGA TEXT MODES */
|
||||
case SW_VGA_C40x25:
|
||||
@ -690,7 +690,7 @@ sc_vid_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct thread *
|
||||
(*vidsw[adp->va_index]->set_hw_cursor)(adp, -1, -1);
|
||||
#endif
|
||||
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case KD_TEXT1: /* switch to TEXT (known) mode */
|
||||
/*
|
||||
|
@ -1171,7 +1171,7 @@ ukbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
state->ks_state &= ~LOCK_MASK;
|
||||
state->ks_state |= KBD_LED_VAL(kbd);
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case K_RAW:
|
||||
case K_CODE:
|
||||
if (state->ks_mode != *(int *)arg) {
|
||||
@ -1246,7 +1246,7 @@ ukbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
case PIO_KEYMAPENT: /* set keyboard translation table entry */
|
||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||
state->ks_accents = 0;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
splx(s);
|
||||
return genkbd_commonioctl(kbd, cmd, arg);
|
||||
|
@ -181,7 +181,7 @@ cd9660_rrip_slink(p,ana)
|
||||
|
||||
case ISO_SUSP_CFLAG_CONTINUE:
|
||||
cont = 1;
|
||||
/* fall thru */
|
||||
/* FALLTHROUGH */
|
||||
case 0:
|
||||
/* Inserting component */
|
||||
wlen = isonum_711(pcomp->clen);
|
||||
@ -253,7 +253,7 @@ cd9660_rrip_altname(p,ana)
|
||||
|
||||
case ISO_SUSP_CFLAG_CONTINUE:
|
||||
cont = 1;
|
||||
/* fall thru */
|
||||
/* FALLTHROUGH */
|
||||
case 0:
|
||||
/* Inserting component */
|
||||
wlen = isonum_711(p->h.length) - 5;
|
||||
@ -297,7 +297,7 @@ cd9660_rrip_defname(isodir,ana)
|
||||
break;
|
||||
case 1:
|
||||
*ana->outlen = 2;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case 0:
|
||||
/* outlen is 1 already */
|
||||
strcpy(ana->outbuf,"..");
|
||||
|
@ -318,7 +318,7 @@ trap(frame)
|
||||
goto user;
|
||||
break;
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case T_SEGNPFLT: /* segment not present fault */
|
||||
case T_TSSFLT: /* invalid TSS fault */
|
||||
@ -593,7 +593,7 @@ trap(frame)
|
||||
goto out;
|
||||
}
|
||||
/*
|
||||
* Fall through (TRCTRAP kernel mode, kernel address)
|
||||
* FALLTHROUGH (TRCTRAP kernel mode, kernel address)
|
||||
*/
|
||||
case T_BPTFLT:
|
||||
/*
|
||||
@ -635,7 +635,7 @@ trap(frame)
|
||||
goto out;
|
||||
} else if (panic_on_nmi == 0)
|
||||
goto out;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
#endif /* POWERFAIL_NMI */
|
||||
#endif /* DEV_ISA */
|
||||
}
|
||||
|
@ -264,7 +264,7 @@ ibcs2_sigsys(td, uap)
|
||||
sa.sa_flags = 0;
|
||||
goto ibcs2_sigset;
|
||||
}
|
||||
/* else fallthrough to sighold */
|
||||
/* else FALLTHROUGH to sighold */
|
||||
|
||||
case IBCS2_SIGHOLD_MASK:
|
||||
{
|
||||
|
@ -1357,7 +1357,7 @@ send_cmd(u_int unit, u_char cmd, u_int nargs, ...)
|
||||
switch ((rc = inb(reg)) & 0xf0) {
|
||||
case 0x20:
|
||||
rc = inb(reg);
|
||||
/* FALL TROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case 0x50:
|
||||
XDEBUG(1, ("scd%d: DEBUG: send_cmd: drive_error=0x%x\n", unit, rc));
|
||||
return -rc;
|
||||
|
@ -2676,7 +2676,7 @@ static int stl_initeio(stlbrd_t *brdp)
|
||||
switch (status & EIO_IDBITMASK) {
|
||||
case EIO_8PORTM:
|
||||
brdp->clk = EIO_CLK8M;
|
||||
/* fall thru */
|
||||
/* FALLTHROUGH */
|
||||
case EIO_8PORTRS:
|
||||
case EIO_8PORTDI:
|
||||
brdp->nrports = 8;
|
||||
|
@ -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);
|
||||
break;
|
||||
}
|
||||
/* fall through to SDTR */
|
||||
/* FALLTHROUGH to SDTR */
|
||||
}
|
||||
|
||||
case TIOCSDTR: /* Set DTR */
|
||||
|
@ -645,7 +645,7 @@ doinitialize(struct psm_softc *sc, mousemode_t *mode)
|
||||
if (verbose)
|
||||
log(LOG_DEBUG, "psm%d: strange result for test aux port (%d).\n",
|
||||
sc->unit, i);
|
||||
/* fall though */
|
||||
/* FALLTHROUGH */
|
||||
case 0: /* no error */
|
||||
break;
|
||||
case -1: /* time out */
|
||||
@ -1031,7 +1031,7 @@ psmprobe(device_t dev)
|
||||
if (verbose)
|
||||
printf("psm%d: strange result for test aux port (%d).\n",
|
||||
unit, i);
|
||||
/* fall though */
|
||||
/* FALLTHROUGH */
|
||||
case 0: /* no error */
|
||||
break;
|
||||
case -1: /* time out */
|
||||
@ -2174,7 +2174,7 @@ psmintr(void *arg)
|
||||
break;
|
||||
case 0:
|
||||
/* device type packet - shouldn't happen */
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
x = y = 0;
|
||||
ms.button = ms.obutton;
|
||||
|
@ -181,7 +181,7 @@ cd9660_rrip_slink(p,ana)
|
||||
|
||||
case ISO_SUSP_CFLAG_CONTINUE:
|
||||
cont = 1;
|
||||
/* fall thru */
|
||||
/* FALLTHROUGH */
|
||||
case 0:
|
||||
/* Inserting component */
|
||||
wlen = isonum_711(pcomp->clen);
|
||||
@ -253,7 +253,7 @@ cd9660_rrip_altname(p,ana)
|
||||
|
||||
case ISO_SUSP_CFLAG_CONTINUE:
|
||||
cont = 1;
|
||||
/* fall thru */
|
||||
/* FALLTHROUGH */
|
||||
case 0:
|
||||
/* Inserting component */
|
||||
wlen = isonum_711(p->h.length) - 5;
|
||||
@ -297,7 +297,7 @@ cd9660_rrip_defname(isodir,ana)
|
||||
break;
|
||||
case 1:
|
||||
*ana->outlen = 2;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case 0:
|
||||
/* outlen is 1 already */
|
||||
strcpy(ana->outbuf,"..");
|
||||
|
@ -349,7 +349,7 @@ fcntl(td, uap)
|
||||
|
||||
case F_SETLKW:
|
||||
flg |= F_WAIT;
|
||||
/* Fall into F_SETLK */
|
||||
/* FALLTHROUGH F_SETLK */
|
||||
|
||||
case F_SETLK:
|
||||
if (fp->f_type != DTYPE_VNODE) {
|
||||
|
@ -272,7 +272,7 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line)
|
||||
* An alternative would be to fail with EDEADLK.
|
||||
*/
|
||||
sharelock(lkp, 1);
|
||||
/* fall into downgrade */
|
||||
/* FALLTHROUGH downgrade */
|
||||
|
||||
case LK_DOWNGRADE:
|
||||
KASSERT(lkp->lk_lockholder == pid && lkp->lk_exclusivecount != 0,
|
||||
@ -298,7 +298,7 @@ debuglockmgr(lkp, flags, interlkp, td, name, file, line)
|
||||
error = EBUSY;
|
||||
break;
|
||||
}
|
||||
/* fall into normal upgrade */
|
||||
/* FALLTHROUGH normal 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)) ==
|
||||
LK_WAIT_NONZERO)
|
||||
wakeup((void *)lkp);
|
||||
/* fall into exclusive request */
|
||||
/* FALLTHROUGH exclusive request */
|
||||
|
||||
case LK_EXCLUSIVE:
|
||||
if (lkp->lk_lockholder == pid && pid != LK_KERNPROC) {
|
||||
|
@ -584,7 +584,7 @@ ptrace(struct thread *td, struct ptrace_args *uap)
|
||||
case PT_WRITE_I:
|
||||
case PT_WRITE_D:
|
||||
write = 1;
|
||||
/* fallthrough */
|
||||
/* FALLTHROUGH */
|
||||
case PT_READ_I:
|
||||
case PT_READ_D:
|
||||
PROC_UNLOCK(p);
|
||||
|
@ -1740,12 +1740,12 @@ getnewbuf(int slpflag, int slptimeo, int size, int maxsize)
|
||||
nqindex = QUEUE_EMPTYKVA;
|
||||
if ((nbp = TAILQ_FIRST(&bufqueues[QUEUE_EMPTYKVA])))
|
||||
break;
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
case QUEUE_EMPTYKVA:
|
||||
nqindex = QUEUE_CLEAN;
|
||||
if ((nbp = TAILQ_FIRST(&bufqueues[QUEUE_CLEAN])))
|
||||
break;
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
case QUEUE_CLEAN:
|
||||
/*
|
||||
* nbp is NULL.
|
||||
|
@ -597,12 +597,12 @@ cluster_wbuild_wb(struct vnode *vp, long size, daddr_t start_lbn, int len)
|
||||
if (start_lbn < len)
|
||||
break;
|
||||
start_lbn -= len;
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
case 1:
|
||||
r = cluster_wbuild(vp, size, start_lbn, len);
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
break;
|
||||
}
|
||||
return(r);
|
||||
|
@ -1761,7 +1761,7 @@ reassignbuf(bp, newvp)
|
||||
delay = metadelay;
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
delay = filedelay;
|
||||
}
|
||||
|
@ -757,7 +757,7 @@ vn_ioctl(fp, com, data, active_cred, td)
|
||||
}
|
||||
if (com == FIONBIO || com == FIOASYNC) /* XXX */
|
||||
return (0); /* XXX */
|
||||
/* fall into ... */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
default:
|
||||
#if 0
|
||||
|
@ -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 */
|
||||
|
@ -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 |=
|
||||
|
@ -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:
|
||||
|
@ -2956,7 +2956,7 @@ atm_cm_cpcs_upper(cmd, tok, arg1, arg2)
|
||||
case CPCS_UABORT_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:
|
||||
|
@ -331,7 +331,7 @@ static int pim_assert;
|
||||
switch (xxs) { \
|
||||
case 2: \
|
||||
delta += 1000000; \
|
||||
/* fall through */ \
|
||||
/* FALLTHROUGH */ \
|
||||
case 1: \
|
||||
delta += 1000000; \
|
||||
break; \
|
||||
|
@ -1629,7 +1629,7 @@ tcp_input(m, off0)
|
||||
(void) tcp_reass(tp, (struct tcphdr *)0, 0,
|
||||
(struct mbuf *)0);
|
||||
tp->snd_wl1 = th->th_seq - 1;
|
||||
/* fall into ... */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
/*
|
||||
* In ESTABLISHED state: drop duplicate ACKs; ACK out of range
|
||||
|
@ -1629,7 +1629,7 @@ tcp_input(m, off0)
|
||||
(void) tcp_reass(tp, (struct tcphdr *)0, 0,
|
||||
(struct mbuf *)0);
|
||||
tp->snd_wl1 = th->th_seq - 1;
|
||||
/* fall into ... */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
/*
|
||||
* In ESTABLISHED state: drop duplicate ACKs; ACK out of range
|
||||
|
@ -137,7 +137,7 @@ ipxipioctl(ifp, cmd, data)
|
||||
|
||||
case SIOCSIFADDR:
|
||||
ifp->if_flags |= IFF_UP;
|
||||
/* fall into: */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case SIOCSIFDSTADDR:
|
||||
/*
|
||||
|
@ -131,7 +131,7 @@ nsipioctl(ifp, cmd, data)
|
||||
|
||||
case SIOCSIFADDR:
|
||||
ifp->if_flags |= IFF_UP;
|
||||
/* fall into: */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case SIOCSIFDSTADDR:
|
||||
/*
|
||||
|
@ -1458,7 +1458,7 @@ spp_usrreq(so, req, m, nam, controlp)
|
||||
break;
|
||||
}
|
||||
cb->s_oobflags |= SF_SOOB;
|
||||
/* fall into */
|
||||
/* FALLTHROUGH */
|
||||
case PRU_SEND:
|
||||
if (controlp) {
|
||||
u_short *p = mtod(controlp, u_short *);
|
||||
|
@ -1306,7 +1306,7 @@ gdc_blank_display(video_adapter_t *adp, int mode)
|
||||
outb(0x09a2, 0x80 | 0x40); /* V/H-SYNC mask */
|
||||
if (inb(0x09a2) == (0x80 | 0x40))
|
||||
standby = 1;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case V_DISPLAY_BLANK:
|
||||
if (epson_machine_id == 0x20) {
|
||||
|
@ -722,7 +722,7 @@ pckbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
state->ks_state &= ~LOCK_MASK;
|
||||
state->ks_state |= KBD_LED_VAL(kbd);
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case K_RAW:
|
||||
case K_CODE:
|
||||
if (state->ks_mode != *(int *)arg) {
|
||||
@ -779,7 +779,7 @@ pckbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
case PIO_KEYMAPENT: /* set keyboard translation table entry */
|
||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||
state->ks_accents = 0;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
splx(s);
|
||||
return genkbd_commonioctl(kbd, cmd, arg);
|
||||
|
@ -1306,7 +1306,7 @@ gdc_blank_display(video_adapter_t *adp, int mode)
|
||||
outb(0x09a2, 0x80 | 0x40); /* V/H-SYNC mask */
|
||||
if (inb(0x09a2) == (0x80 | 0x40))
|
||||
standby = 1;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case V_DISPLAY_BLANK:
|
||||
if (epson_machine_id == 0x20) {
|
||||
|
@ -722,7 +722,7 @@ pckbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
state->ks_state &= ~LOCK_MASK;
|
||||
state->ks_state |= KBD_LED_VAL(kbd);
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case K_RAW:
|
||||
case K_CODE:
|
||||
if (state->ks_mode != *(int *)arg) {
|
||||
@ -779,7 +779,7 @@ pckbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||
case PIO_KEYMAPENT: /* set keyboard translation table entry */
|
||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||
state->ks_accents = 0;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
splx(s);
|
||||
return genkbd_commonioctl(kbd, cmd, arg);
|
||||
|
@ -1336,7 +1336,7 @@ tulip_mii_autonegotiate(
|
||||
sc->tulip_probe_timeout = 3000;
|
||||
sc->tulip_intrmask |= TULIP_STS_ABNRMLINTR|TULIP_STS_NORMALINTR;
|
||||
sc->tulip_probe_state = TULIP_PROBE_PHYRESET;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
}
|
||||
case TULIP_PROBE_PHYRESET: {
|
||||
u_int32_t status;
|
||||
@ -1378,7 +1378,7 @@ tulip_mii_autonegotiate(
|
||||
#endif
|
||||
sc->tulip_probe_state = TULIP_PROBE_PHYAUTONEG;
|
||||
sc->tulip_probe_timeout = 3000;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
}
|
||||
case TULIP_PROBE_PHYAUTONEG: {
|
||||
u_int32_t status = tulip_mii_readreg(sc, phyaddr, PHYREG_STATUS);
|
||||
|
@ -3128,7 +3128,7 @@ static void ncr_script_copy_and_bind (ncb_p np, ncrcmd *src, ncrcmd *dst, int le
|
||||
new = old;
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
panic("ncr_script_copy_and_bind: weird relocation %x @ %d\n", old, (int)(src - start));
|
||||
break;
|
||||
@ -4611,14 +4611,14 @@ ncr_wakeup (ncb_p np, u_long code)
|
||||
|
||||
case HS_DISCONNECT:
|
||||
if(DEBUG_FLAGS & DEBUG_TINY) printf ("D");
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case HS_BUSY:
|
||||
case HS_NEGOTIATE:
|
||||
if (!code) break;
|
||||
cp->host_status = code;
|
||||
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
default:
|
||||
ncr_complete (np, cp);
|
||||
@ -5163,7 +5163,7 @@ ncr_timeout (void *arg)
|
||||
|
||||
case HS_BUSY:
|
||||
case HS_NEGOTIATE:
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
case HS_DISCONNECT:
|
||||
cp->host_status=HS_TIMEOUT;
|
||||
};
|
||||
@ -6027,7 +6027,7 @@ void ncr_int_sir (ncb_p np)
|
||||
*/
|
||||
OUTB (HS_PRT, HS_BUSY);
|
||||
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case SIR_NEGO_PROTO:
|
||||
/*-------------------------------------------------------
|
||||
@ -6353,7 +6353,7 @@ void ncr_int_sir (ncb_p np)
|
||||
ncr_freeze_devq(np, cp->ccb->ccb_h.path);
|
||||
ncr_complete(np, cp);
|
||||
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case SIR_STALL_RESTART:
|
||||
/*-----------------------------------------------
|
||||
|
@ -122,7 +122,7 @@ ufs_quotactl(mp, cmds, uid, arg, td)
|
||||
case Q_GETQUOTA:
|
||||
if (uid == td->td_ucred->cr_ruid)
|
||||
break;
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
if ((error = suser_cred(td->td_ucred, PRISON_ROOT)) != 0)
|
||||
return (error);
|
||||
|
@ -1221,7 +1221,7 @@ int n;
|
||||
case -1:
|
||||
if (need_lf == 0)
|
||||
break;
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
case '\n':
|
||||
write(STDERR_FILENO, "\n", 1);
|
||||
need_lf = 0;
|
||||
|
@ -505,7 +505,7 @@ sigbus(struct sigframe *sf)
|
||||
tty_pause();
|
||||
goto out;
|
||||
/* } */
|
||||
/* FALLTHRU */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
default:
|
||||
dump_regs(REGS);
|
||||
|
@ -3176,7 +3176,7 @@ static int input()
|
||||
/* Reset buffer status. */
|
||||
yyrestart( yyin );
|
||||
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case EOB_ACT_END_OF_FILE:
|
||||
{
|
||||
|
@ -488,7 +488,7 @@ skin(name)
|
||||
lastsp = 0;
|
||||
break;
|
||||
}
|
||||
/* Fall into . . . */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
default:
|
||||
if (lastsp) {
|
||||
|
@ -272,7 +272,7 @@ willoption(int option)
|
||||
case TELOPT_BINARY:
|
||||
case TELOPT_SGA:
|
||||
settimer(modenegotiated);
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
case TELOPT_STATUS:
|
||||
new_state_ok = 1;
|
||||
break;
|
||||
@ -322,7 +322,7 @@ wontoption(int option)
|
||||
case TELOPT_SGA:
|
||||
if (!kludgelinemode)
|
||||
break;
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
#endif
|
||||
case TELOPT_ECHO:
|
||||
settimer(modenegotiated);
|
||||
@ -1293,7 +1293,7 @@ env_opt(unsigned char *buf, int len)
|
||||
old_env_var = OLD_ENV_VAR;
|
||||
old_env_value = OLD_ENV_VALUE;
|
||||
}
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
# endif
|
||||
case OLD_ENV_VALUE:
|
||||
/*
|
||||
@ -1301,7 +1301,7 @@ env_opt(unsigned char *buf, int len)
|
||||
* still recognize it, just in case it is an
|
||||
* old server that has VAR & VALUE mixed up...
|
||||
*/
|
||||
/* FALL THROUGH */
|
||||
/* FALLTHROUGH */
|
||||
#else
|
||||
case NEW_ENV_VAR:
|
||||
#endif
|
||||
@ -1314,7 +1314,7 @@ env_opt(unsigned char *buf, int len)
|
||||
break;
|
||||
case ENV_ESC:
|
||||
i++;
|
||||
/*FALL THROUGH*/
|
||||
/*FALLTHROUGH*/
|
||||
default:
|
||||
if (epc)
|
||||
*epc++ = buf[i];
|
||||
@ -1519,7 +1519,7 @@ telrcv(void)
|
||||
TTYADD(c);
|
||||
break;
|
||||
}
|
||||
/* Else, fall through */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case TS_DATA:
|
||||
if (c == IAC) {
|
||||
|
@ -544,7 +544,7 @@ char *(*get_userid)();
|
||||
sprintf(status, "%.6s", pp->ki_wmesg);
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
default:
|
||||
|
||||
if (state >= 0 &&
|
||||
|
@ -225,7 +225,7 @@ stime_arg1(arg, tvp)
|
||||
t->tm_year = ATOI2(arg);
|
||||
t->tm_year *= 100;
|
||||
yearset = 1;
|
||||
/* FALLTHOUGH */
|
||||
/* FALLTHROUGH */
|
||||
case 10: /* YYMMDDhhmm */
|
||||
if (yearset) {
|
||||
yearset = ATOI2(arg);
|
||||
|
@ -134,7 +134,7 @@ main(argc, argv)
|
||||
|
||||
default:
|
||||
warnx("trouble reading termcap");
|
||||
/* fall through to ... */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case 0:
|
||||
/* No such terminal type - assume dumb */
|
||||
|
@ -283,7 +283,7 @@ nextc()
|
||||
s = cptr;
|
||||
break;
|
||||
}
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
default:
|
||||
cptr = s;
|
||||
@ -511,7 +511,7 @@ copy_text()
|
||||
FREE(t_line);
|
||||
return;
|
||||
}
|
||||
/* fall through */
|
||||
/* FALLTHROUGH */
|
||||
|
||||
default:
|
||||
putc(c, f);
|
||||
|
Loading…
Reference in New Issue
Block a user