mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Replace various spelling with FALLTHROUGH which is lint()able
This commit is contained in:
parent
7fed38d0a0
commit
93b0017f88
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=102412
|
@ -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:
|
||||||
|
|
|
@ -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)) {
|
||||||
|
|
|
@ -318,7 +318,7 @@ trap(frame)
|
||||||
goto user;
|
goto user;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
case T_SEGNPFLT: /* segment not present fault */
|
case T_SEGNPFLT: /* segment not present fault */
|
||||||
case T_TSSFLT: /* invalid TSS fault */
|
case T_TSSFLT: /* invalid TSS fault */
|
||||||
|
@ -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:
|
||||||
/*
|
/*
|
||||||
|
@ -635,7 +635,7 @@ trap(frame)
|
||||||
goto out;
|
goto out;
|
||||||
} else if (panic_on_nmi == 0)
|
} else if (panic_on_nmi == 0)
|
||||||
goto out;
|
goto out;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
#endif /* POWERFAIL_NMI */
|
#endif /* POWERFAIL_NMI */
|
||||||
#endif /* DEV_ISA */
|
#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)
|
|| (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 */
|
||||||
|
|
|
@ -831,7 +831,7 @@ atkbd_ioctl(keyboard_t *kbd, u_long cmd, caddr_t arg)
|
||||||
state->ks_state &= ~LOCK_MASK;
|
state->ks_state &= ~LOCK_MASK;
|
||||||
state->ks_state |= KBD_LED_VAL(kbd);
|
state->ks_state |= KBD_LED_VAL(kbd);
|
||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
case K_RAW:
|
case K_RAW:
|
||||||
case K_CODE:
|
case K_CODE:
|
||||||
if (state->ks_mode != *(int *)arg) {
|
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_KEYMAPENT: /* set keyboard translation table entry */
|
||||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||||
state->ks_accents = 0;
|
state->ks_accents = 0;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
splx(s);
|
splx(s);
|
||||||
return genkbd_commonioctl(kbd, cmd, arg);
|
return genkbd_commonioctl(kbd, cmd, arg);
|
||||||
|
|
|
@ -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 */
|
||||||
|
@ -2174,7 +2174,7 @@ psmintr(void *arg)
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
/* device type packet - shouldn't happen */
|
/* device type packet - shouldn't happen */
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
x = y = 0;
|
x = y = 0;
|
||||||
ms.button = ms.obutton;
|
ms.button = ms.obutton;
|
||||||
|
|
|
@ -1336,7 +1336,7 @@ tulip_mii_autonegotiate(
|
||||||
sc->tulip_probe_timeout = 3000;
|
sc->tulip_probe_timeout = 3000;
|
||||||
sc->tulip_intrmask |= TULIP_STS_ABNRMLINTR|TULIP_STS_NORMALINTR;
|
sc->tulip_intrmask |= TULIP_STS_ABNRMLINTR|TULIP_STS_NORMALINTR;
|
||||||
sc->tulip_probe_state = TULIP_PROBE_PHYRESET;
|
sc->tulip_probe_state = TULIP_PROBE_PHYRESET;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
}
|
}
|
||||||
case TULIP_PROBE_PHYRESET: {
|
case TULIP_PROBE_PHYRESET: {
|
||||||
u_int32_t status;
|
u_int32_t status;
|
||||||
|
@ -1378,7 +1378,7 @@ tulip_mii_autonegotiate(
|
||||||
#endif
|
#endif
|
||||||
sc->tulip_probe_state = TULIP_PROBE_PHYAUTONEG;
|
sc->tulip_probe_state = TULIP_PROBE_PHYAUTONEG;
|
||||||
sc->tulip_probe_timeout = 3000;
|
sc->tulip_probe_timeout = 3000;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
}
|
}
|
||||||
case TULIP_PROBE_PHYAUTONEG: {
|
case TULIP_PROBE_PHYAUTONEG: {
|
||||||
u_int32_t status = tulip_mii_readreg(sc, phyaddr, PHYREG_STATUS);
|
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
|
#ifdef VGA_WIDTH90
|
||||||
case M_VGA_C90x60: case M_VGA_M90x60:
|
case M_VGA_C90x60: case M_VGA_M90x60:
|
||||||
set_width90(¶ms);
|
set_width90(¶ms);
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
#endif
|
#endif
|
||||||
case M_VGA_C80x60: case M_VGA_M80x60:
|
case M_VGA_C80x60: case M_VGA_M80x60:
|
||||||
params.regs[2] = 0x08;
|
params.regs[2] = 0x08;
|
||||||
|
@ -1547,7 +1547,7 @@ vga_set_mode(video_adapter_t *adp, int mode)
|
||||||
#ifdef VGA_WIDTH90
|
#ifdef VGA_WIDTH90
|
||||||
case M_VGA_C90x30: case M_VGA_M90x30:
|
case M_VGA_C90x30: case M_VGA_M90x30:
|
||||||
set_width90(¶ms);
|
set_width90(¶ms);
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
#endif
|
#endif
|
||||||
case M_VGA_C80x30: case M_VGA_M80x30:
|
case M_VGA_C80x30: case M_VGA_M80x30:
|
||||||
params.regs[19] = 0x4f;
|
params.regs[19] = 0x4f;
|
||||||
|
@ -1564,7 +1564,7 @@ vga_set_mode(video_adapter_t *adp, int mode)
|
||||||
#ifdef VGA_WIDTH90
|
#ifdef VGA_WIDTH90
|
||||||
case M_VGA_C90x43: case M_VGA_M90x43:
|
case M_VGA_C90x43: case M_VGA_M90x43:
|
||||||
set_width90(¶ms);
|
set_width90(¶ms);
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
#endif
|
#endif
|
||||||
case M_ENH_C80x43: case M_ENH_B80x43:
|
case M_ENH_C80x43: case M_ENH_B80x43:
|
||||||
params.regs[28] = 87;
|
params.regs[28] = 87;
|
||||||
|
@ -1573,7 +1573,7 @@ vga_set_mode(video_adapter_t *adp, int mode)
|
||||||
#ifdef VGA_WIDTH90
|
#ifdef VGA_WIDTH90
|
||||||
case M_VGA_C90x50: case M_VGA_M90x50:
|
case M_VGA_C90x50: case M_VGA_M90x50:
|
||||||
set_width90(¶ms);
|
set_width90(¶ms);
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
#endif
|
#endif
|
||||||
case M_VGA_C80x50: case M_VGA_M80x50:
|
case M_VGA_C80x50: case M_VGA_M80x50:
|
||||||
special_80x50:
|
special_80x50:
|
||||||
|
@ -1584,7 +1584,7 @@ vga_set_mode(video_adapter_t *adp, int mode)
|
||||||
#ifdef VGA_WIDTH90
|
#ifdef VGA_WIDTH90
|
||||||
case M_VGA_C90x25: case M_VGA_M90x25:
|
case M_VGA_C90x25: case M_VGA_M90x25:
|
||||||
set_width90(¶ms);
|
set_width90(¶ms);
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
#endif
|
#endif
|
||||||
case M_VGA_C40x25: case M_VGA_C80x25:
|
case M_VGA_C40x25: case M_VGA_C80x25:
|
||||||
case M_VGA_M80x25:
|
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 &= ~LOCK_MASK;
|
||||||
state->ks_state |= KBD_LED_VAL(kbd);
|
state->ks_state |= KBD_LED_VAL(kbd);
|
||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
case K_RAW:
|
case K_RAW:
|
||||||
case K_CODE:
|
case K_CODE:
|
||||||
if (state->ks_mode != *(int *)arg) {
|
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_KEYMAPENT: /* set keyboard translation table entry */
|
||||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||||
state->ks_accents = 0;
|
state->ks_accents = 0;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
splx(s);
|
splx(s);
|
||||||
return genkbd_commonioctl(kbd, cmd, arg);
|
return genkbd_commonioctl(kbd, cmd, arg);
|
||||||
|
|
|
@ -1149,7 +1149,7 @@ pdq_stop(
|
||||||
pdq_do_port_control(csrs, PDQ_PCTL_SUB_CMD);
|
pdq_do_port_control(csrs, PDQ_PCTL_SUB_CMD);
|
||||||
state = PDQ_PSTS_ADAPTER_STATE(PDQ_CSR_READ(csrs, csr_port_status));
|
state = PDQ_PSTS_ADAPTER_STATE(PDQ_CSR_READ(csrs, csr_port_status));
|
||||||
PDQ_ASSERT(state == PDQS_DMA_AVAILABLE);
|
PDQ_ASSERT(state == PDQS_DMA_AVAILABLE);
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
}
|
}
|
||||||
case PDQS_DMA_AVAILABLE: {
|
case PDQS_DMA_AVAILABLE: {
|
||||||
PDQ_CSR_WRITE(csrs, csr_port_data_a, 0);
|
PDQ_CSR_WRITE(csrs, csr_port_data_a, 0);
|
||||||
|
@ -1157,7 +1157,7 @@ pdq_stop(
|
||||||
pdq_do_port_control(csrs, PDQ_PCTL_DMA_UNINIT);
|
pdq_do_port_control(csrs, PDQ_PCTL_DMA_UNINIT);
|
||||||
state = PDQ_PSTS_ADAPTER_STATE(PDQ_CSR_READ(csrs, csr_port_status));
|
state = PDQ_PSTS_ADAPTER_STATE(PDQ_CSR_READ(csrs, csr_port_status));
|
||||||
PDQ_ASSERT(state == PDQS_DMA_UNAVAILABLE);
|
PDQ_ASSERT(state == PDQS_DMA_UNAVAILABLE);
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
}
|
}
|
||||||
case PDQS_DMA_UNAVAILABLE: {
|
case PDQS_DMA_UNAVAILABLE: {
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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_80x25: case SW_TEXT_80x30:
|
||||||
case SW_TEXT_80x43: case SW_TEXT_80x50:
|
case SW_TEXT_80x43: case SW_TEXT_80x50:
|
||||||
case SW_TEXT_80x60:
|
case SW_TEXT_80x60:
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
/* VGA TEXT MODES */
|
/* VGA TEXT MODES */
|
||||||
case SW_VGA_C40x25:
|
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);
|
(*vidsw[adp->va_index]->set_hw_cursor)(adp, -1, -1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
case KD_TEXT1: /* switch to TEXT (known) mode */
|
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 &= ~LOCK_MASK;
|
||||||
state->ks_state |= KBD_LED_VAL(kbd);
|
state->ks_state |= KBD_LED_VAL(kbd);
|
||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
case K_RAW:
|
case K_RAW:
|
||||||
case K_CODE:
|
case K_CODE:
|
||||||
if (state->ks_mode != *(int *)arg) {
|
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_KEYMAPENT: /* set keyboard translation table entry */
|
||||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||||
state->ks_accents = 0;
|
state->ks_accents = 0;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
splx(s);
|
splx(s);
|
||||||
return genkbd_commonioctl(kbd, cmd, arg);
|
return genkbd_commonioctl(kbd, cmd, arg);
|
||||||
|
|
|
@ -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;
|
||||||
|
@ -297,7 +297,7 @@ cd9660_rrip_defname(isodir,ana)
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
*ana->outlen = 2;
|
*ana->outlen = 2;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
case 0:
|
case 0:
|
||||||
/* outlen is 1 already */
|
/* outlen is 1 already */
|
||||||
strcpy(ana->outbuf,"..");
|
strcpy(ana->outbuf,"..");
|
||||||
|
|
|
@ -318,7 +318,7 @@ trap(frame)
|
||||||
goto user;
|
goto user;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
case T_SEGNPFLT: /* segment not present fault */
|
case T_SEGNPFLT: /* segment not present fault */
|
||||||
case T_TSSFLT: /* invalid TSS fault */
|
case T_TSSFLT: /* invalid TSS fault */
|
||||||
|
@ -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:
|
||||||
/*
|
/*
|
||||||
|
@ -635,7 +635,7 @@ trap(frame)
|
||||||
goto out;
|
goto out;
|
||||||
} else if (panic_on_nmi == 0)
|
} else if (panic_on_nmi == 0)
|
||||||
goto out;
|
goto out;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
#endif /* POWERFAIL_NMI */
|
#endif /* POWERFAIL_NMI */
|
||||||
#endif /* DEV_ISA */
|
#endif /* DEV_ISA */
|
||||||
}
|
}
|
||||||
|
|
|
@ -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:
|
||||||
{
|
{
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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 */
|
||||||
|
@ -2174,7 +2174,7 @@ psmintr(void *arg)
|
||||||
break;
|
break;
|
||||||
case 0:
|
case 0:
|
||||||
/* device type packet - shouldn't happen */
|
/* device type packet - shouldn't happen */
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
x = y = 0;
|
x = y = 0;
|
||||||
ms.button = ms.obutton;
|
ms.button = ms.obutton;
|
||||||
|
|
|
@ -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;
|
||||||
|
@ -297,7 +297,7 @@ cd9660_rrip_defname(isodir,ana)
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
*ana->outlen = 2;
|
*ana->outlen = 2;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
case 0:
|
case 0:
|
||||||
/* outlen is 1 already */
|
/* outlen is 1 already */
|
||||||
strcpy(ana->outbuf,"..");
|
strcpy(ana->outbuf,"..");
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -1761,7 +1761,7 @@ reassignbuf(bp, newvp)
|
||||||
delay = metadelay;
|
delay = metadelay;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* fall through */
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
delay = filedelay;
|
delay = filedelay;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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 |=
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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; \
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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:
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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 *);
|
||||||
|
|
|
@ -1306,7 +1306,7 @@ gdc_blank_display(video_adapter_t *adp, int mode)
|
||||||
outb(0x09a2, 0x80 | 0x40); /* V/H-SYNC mask */
|
outb(0x09a2, 0x80 | 0x40); /* V/H-SYNC mask */
|
||||||
if (inb(0x09a2) == (0x80 | 0x40))
|
if (inb(0x09a2) == (0x80 | 0x40))
|
||||||
standby = 1;
|
standby = 1;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
case V_DISPLAY_BLANK:
|
case V_DISPLAY_BLANK:
|
||||||
if (epson_machine_id == 0x20) {
|
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 &= ~LOCK_MASK;
|
||||||
state->ks_state |= KBD_LED_VAL(kbd);
|
state->ks_state |= KBD_LED_VAL(kbd);
|
||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
case K_RAW:
|
case K_RAW:
|
||||||
case K_CODE:
|
case K_CODE:
|
||||||
if (state->ks_mode != *(int *)arg) {
|
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_KEYMAPENT: /* set keyboard translation table entry */
|
||||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||||
state->ks_accents = 0;
|
state->ks_accents = 0;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
splx(s);
|
splx(s);
|
||||||
return genkbd_commonioctl(kbd, cmd, arg);
|
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 */
|
outb(0x09a2, 0x80 | 0x40); /* V/H-SYNC mask */
|
||||||
if (inb(0x09a2) == (0x80 | 0x40))
|
if (inb(0x09a2) == (0x80 | 0x40))
|
||||||
standby = 1;
|
standby = 1;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
case V_DISPLAY_BLANK:
|
case V_DISPLAY_BLANK:
|
||||||
if (epson_machine_id == 0x20) {
|
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 &= ~LOCK_MASK;
|
||||||
state->ks_state |= KBD_LED_VAL(kbd);
|
state->ks_state |= KBD_LED_VAL(kbd);
|
||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
case K_RAW:
|
case K_RAW:
|
||||||
case K_CODE:
|
case K_CODE:
|
||||||
if (state->ks_mode != *(int *)arg) {
|
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_KEYMAPENT: /* set keyboard translation table entry */
|
||||||
case PIO_DEADKEYMAP: /* set accent key translation table */
|
case PIO_DEADKEYMAP: /* set accent key translation table */
|
||||||
state->ks_accents = 0;
|
state->ks_accents = 0;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
splx(s);
|
splx(s);
|
||||||
return genkbd_commonioctl(kbd, cmd, arg);
|
return genkbd_commonioctl(kbd, cmd, arg);
|
||||||
|
|
|
@ -1336,7 +1336,7 @@ tulip_mii_autonegotiate(
|
||||||
sc->tulip_probe_timeout = 3000;
|
sc->tulip_probe_timeout = 3000;
|
||||||
sc->tulip_intrmask |= TULIP_STS_ABNRMLINTR|TULIP_STS_NORMALINTR;
|
sc->tulip_intrmask |= TULIP_STS_ABNRMLINTR|TULIP_STS_NORMALINTR;
|
||||||
sc->tulip_probe_state = TULIP_PROBE_PHYRESET;
|
sc->tulip_probe_state = TULIP_PROBE_PHYRESET;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
}
|
}
|
||||||
case TULIP_PROBE_PHYRESET: {
|
case TULIP_PROBE_PHYRESET: {
|
||||||
u_int32_t status;
|
u_int32_t status;
|
||||||
|
@ -1378,7 +1378,7 @@ tulip_mii_autonegotiate(
|
||||||
#endif
|
#endif
|
||||||
sc->tulip_probe_state = TULIP_PROBE_PHYAUTONEG;
|
sc->tulip_probe_state = TULIP_PROBE_PHYAUTONEG;
|
||||||
sc->tulip_probe_timeout = 3000;
|
sc->tulip_probe_timeout = 3000;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
}
|
}
|
||||||
case TULIP_PROBE_PHYAUTONEG: {
|
case TULIP_PROBE_PHYAUTONEG: {
|
||||||
u_int32_t status = tulip_mii_readreg(sc, phyaddr, PHYREG_STATUS);
|
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;
|
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:
|
||||||
/*-------------------------------------------------------
|
/*-------------------------------------------------------
|
||||||
|
@ -6353,7 +6353,7 @@ void ncr_int_sir (ncb_p np)
|
||||||
ncr_freeze_devq(np, cp->ccb->ccb_h.path);
|
ncr_freeze_devq(np, cp->ccb->ccb_h.path);
|
||||||
ncr_complete(np, cp);
|
ncr_complete(np, cp);
|
||||||
|
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
case SIR_STALL_RESTART:
|
case SIR_STALL_RESTART:
|
||||||
/*-----------------------------------------------
|
/*-----------------------------------------------
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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:
|
||||||
{
|
{
|
||||||
|
|
|
@ -488,7 +488,7 @@ skin(name)
|
||||||
lastsp = 0;
|
lastsp = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* Fall into . . . */
|
/* FALLTHROUGH */
|
||||||
|
|
||||||
default:
|
default:
|
||||||
if (lastsp) {
|
if (lastsp) {
|
||||||
|
|
|
@ -272,7 +272,7 @@ willoption(int option)
|
||||||
case TELOPT_BINARY:
|
case TELOPT_BINARY:
|
||||||
case TELOPT_SGA:
|
case TELOPT_SGA:
|
||||||
settimer(modenegotiated);
|
settimer(modenegotiated);
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
case TELOPT_STATUS:
|
case TELOPT_STATUS:
|
||||||
new_state_ok = 1;
|
new_state_ok = 1;
|
||||||
break;
|
break;
|
||||||
|
@ -322,7 +322,7 @@ wontoption(int option)
|
||||||
case TELOPT_SGA:
|
case TELOPT_SGA:
|
||||||
if (!kludgelinemode)
|
if (!kludgelinemode)
|
||||||
break;
|
break;
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
#endif
|
#endif
|
||||||
case TELOPT_ECHO:
|
case TELOPT_ECHO:
|
||||||
settimer(modenegotiated);
|
settimer(modenegotiated);
|
||||||
|
@ -1293,7 +1293,7 @@ env_opt(unsigned char *buf, int len)
|
||||||
old_env_var = OLD_ENV_VAR;
|
old_env_var = OLD_ENV_VAR;
|
||||||
old_env_value = OLD_ENV_VALUE;
|
old_env_value = OLD_ENV_VALUE;
|
||||||
}
|
}
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
# endif
|
# endif
|
||||||
case OLD_ENV_VALUE:
|
case OLD_ENV_VALUE:
|
||||||
/*
|
/*
|
||||||
|
@ -1301,7 +1301,7 @@ env_opt(unsigned char *buf, int len)
|
||||||
* still recognize it, just in case it is an
|
* still recognize it, just in case it is an
|
||||||
* old server that has VAR & VALUE mixed up...
|
* old server that has VAR & VALUE mixed up...
|
||||||
*/
|
*/
|
||||||
/* FALL THROUGH */
|
/* FALLTHROUGH */
|
||||||
#else
|
#else
|
||||||
case NEW_ENV_VAR:
|
case NEW_ENV_VAR:
|
||||||
#endif
|
#endif
|
||||||
|
@ -1314,7 +1314,7 @@ env_opt(unsigned char *buf, int len)
|
||||||
break;
|
break;
|
||||||
case ENV_ESC:
|
case ENV_ESC:
|
||||||
i++;
|
i++;
|
||||||
/*FALL THROUGH*/
|
/*FALLTHROUGH*/
|
||||||
default:
|
default:
|
||||||
if (epc)
|
if (epc)
|
||||||
*epc++ = buf[i];
|
*epc++ = buf[i];
|
||||||
|
@ -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) {
|
||||||
|
|
|
@ -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 &&
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue