summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-10 23:07:00 +0000
committerpfg <pfg@FreeBSD.org>2016-04-10 23:07:00 +0000
commitb63211eed5e20b9ad1b7649373ab39eff72e2521 (patch)
treef9ef37d6819baa5fad7e8d8d09e679def3577aa7 /sys
parentbadebc350a608060082d5f1b86f3038714a7d433 (diff)
downloadFreeBSD-src-b63211eed5e20b9ad1b7649373ab39eff72e2521.zip
FreeBSD-src-b63211eed5e20b9ad1b7649373ab39eff72e2521.tar.gz
Cleanup unnecessary semicolons from the kernel.
Found with devel/coccinelle.
Diffstat (limited to 'sys')
-rw-r--r--sys/arm/altera/socfpga/socfpga_rstmgr.c2
-rw-r--r--sys/arm/amlogic/aml8726/aml8726_sdxc-m8.c2
-rw-r--r--sys/arm/arm/disassem.c2
-rw-r--r--sys/arm/arm/vm_machdep.c2
-rw-r--r--sys/arm/freescale/imx/imx6_sdma.c2
-rw-r--r--sys/arm/freescale/imx/imx6_ssi.c2
-rw-r--r--sys/arm/freescale/vybrid/vf_ccm.c10
-rw-r--r--sys/arm/freescale/vybrid/vf_edma.c6
-rw-r--r--sys/arm/freescale/vybrid/vf_port.c2
-rw-r--r--sys/arm/freescale/vybrid/vf_sai.c12
-rw-r--r--sys/arm/mv/mv_pci.c2
-rw-r--r--sys/arm/samsung/exynos/chrome_ec.c4
-rw-r--r--sys/arm/samsung/exynos/chrome_ec_spi.c4
-rw-r--r--sys/arm/samsung/exynos/chrome_kb.c14
-rw-r--r--sys/arm/samsung/exynos/exynos5_i2c.c6
-rw-r--r--sys/arm/samsung/exynos/exynos5_pad.c8
-rw-r--r--sys/arm64/cavium/thunder_pcie_pem.c2
-rw-r--r--sys/boot/arm/at91/libat91/sd-card.c2
-rw-r--r--sys/boot/common/part.c2
-rw-r--r--sys/boot/userboot/test/test.c2
-rw-r--r--sys/boot/userboot/userboot/elf64_freebsd.c2
-rw-r--r--sys/cam/ctl/ctl_ha.c2
-rw-r--r--sys/compat/linprocfs/linprocfs.c2
-rw-r--r--sys/dev/aac/aac.c2
-rw-r--r--sys/dev/aacraid/aacraid.c4
-rw-r--r--sys/dev/ahci/ahci_pci.c2
-rw-r--r--sys/dev/ata/chipsets/ata-intel.c2
-rw-r--r--sys/dev/ath/ath_hal/ar5416/ar5416_radar.c2
-rw-r--r--sys/dev/ath/if_ath.c1
-rw-r--r--sys/dev/bhnd/bcma/bcma_erom.c4
-rw-r--r--sys/dev/bhnd/bhndb/bhndb_pci.c2
-rw-r--r--sys/dev/bhnd/cores/chipc/chipc.c2
-rw-r--r--sys/dev/bhnd/siba/siba.c2
-rw-r--r--sys/dev/bktr/bktr_core.c4
-rw-r--r--sys/dev/bktr/bktr_os.c2
-rw-r--r--sys/dev/bxe/bxe.c2
-rw-r--r--sys/dev/cxgbe/iw_cxgbe/mem.c2
-rw-r--r--sys/dev/cxgbe/t4_main.c2
-rw-r--r--sys/dev/drm2/radeon/radeon_bios.c2
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch.c2
-rw-r--r--sys/dev/etherswitch/arswitch/arswitch_8327.c2
-rw-r--r--sys/dev/etherswitch/ip17x/ip175c.c2
-rw-r--r--sys/dev/etherswitch/ip17x/ip175d.c2
-rw-r--r--sys/dev/hwpmc/hwpmc_mips.c4
-rw-r--r--sys/dev/hyperv/utilities/hv_heartbeat.c2
-rw-r--r--sys/dev/hyperv/utilities/hv_kvp.c2
-rw-r--r--sys/dev/hyperv/utilities/hv_shutdown.c2
-rw-r--r--sys/dev/ie/if_ie_isa.c2
-rw-r--r--sys/dev/ixgbe/if_ix.c2
-rw-r--r--sys/dev/ixgbe/ixgbe_common.c4
-rw-r--r--sys/dev/mii/mii_physubr.c2
-rw-r--r--sys/dev/mmc/host/dwmmc.c2
-rw-r--r--sys/dev/mvs/mvs.c2
-rw-r--r--sys/dev/nand/nand.c2
-rw-r--r--sys/dev/nand/nandsim_chip.c2
-rw-r--r--sys/dev/ncr/ncr.c150
-rw-r--r--sys/dev/nfe/if_nfe.c2
-rw-r--r--sys/dev/oce/oce_mbox.c4
-rw-r--r--sys/dev/oce/oce_sysctl.c2
-rw-r--r--sys/dev/ow/ow.c2
-rw-r--r--sys/dev/patm/if_patm_attach.c2
-rw-r--r--sys/dev/pcf/pcf.c2
-rw-r--r--sys/dev/pdq/pdq.c2
-rw-r--r--sys/dev/qlxgbe/ql_hw.c4
-rw-r--r--sys/dev/ral/rt2860.c2
-rw-r--r--sys/dev/rt/if_rt.c2
-rw-r--r--sys/dev/sound/midi/midi.c4
-rw-r--r--sys/dev/sound/pci/hda/hdaa.c8
-rw-r--r--sys/dev/sym/sym_hipd.c64
-rw-r--r--sys/dev/tdfx/tdfx_pci.c2
-rw-r--r--sys/dev/ti/if_ti.c6
-rw-r--r--sys/dev/uart/uart_dev_msm.c2
-rw-r--r--sys/dev/usb/net/if_mos.c2
-rw-r--r--sys/dev/usb/net/if_ure.c2
-rw-r--r--sys/dev/vt/vt_core.c2
-rw-r--r--sys/fs/nandfs/nandfs_segment.c6
-rw-r--r--sys/fs/nfs/nfs_commonacl.c4
-rw-r--r--sys/fs/nfs/nfs_commonport.c2
-rw-r--r--sys/fs/nfs/nfs_commonsubs.c10
-rw-r--r--sys/fs/nfsclient/nfs_clbio.c4
-rw-r--r--sys/fs/nfsclient/nfs_clport.c2
-rw-r--r--sys/fs/nfsclient/nfs_clrpcops.c6
-rw-r--r--sys/fs/nfsclient/nfs_clstate.c4
-rw-r--r--sys/fs/nfsclient/nfs_clvnops.c2
-rw-r--r--sys/fs/nfsserver/nfs_nfsdport.c8
-rw-r--r--sys/fs/nfsserver/nfs_nfsdserv.c28
-rw-r--r--sys/fs/nfsserver/nfs_nfsdsocket.c2
-rw-r--r--sys/fs/nfsserver/nfs_nfsdsubs.c2
-rw-r--r--sys/fs/smbfs/smbfs_io.c2
-rw-r--r--sys/fs/smbfs/smbfs_subr.c1
-rw-r--r--sys/fs/smbfs/smbfs_vnops.c2
-rw-r--r--sys/fs/tmpfs/tmpfs_subr.c2
-rw-r--r--sys/fs/unionfs/union_subr.c4
-rw-r--r--sys/geom/raid/md_promise.c2
-rw-r--r--sys/geom/sched/g_sched.c2
-rw-r--r--sys/kern/vfs_vnops.c2
-rw-r--r--sys/kgssapi/gss_impl.c2
-rw-r--r--sys/mips/mips/db_disasm.c6
-rw-r--r--sys/mips/mips/db_trace.c4
-rw-r--r--sys/net/if_gif.c2
-rw-r--r--sys/net/if_gre.c4
-rw-r--r--sys/netgraph/netflow/ng_netflow.c2
-rw-r--r--sys/netgraph/ng_base.c2
-rw-r--r--sys/netgraph/ng_ipfw.c4
-rw-r--r--sys/netgraph/ng_nat.c2
-rw-r--r--sys/netpfil/ipfw/ip_fw_sockopt.c2
-rw-r--r--sys/netsmb/smb_subr.c2
-rw-r--r--sys/ofed/drivers/infiniband/hw/mthca/mthca_provider.c2
-rw-r--r--sys/ofed/drivers/net/mlx4/cmd.c2
-rw-r--r--sys/ofed/drivers/net/mlx4/eq.c2
-rw-r--r--sys/pc98/cbus/olpt.c2
-rw-r--r--sys/powerpc/powermac/fcu.c2
-rw-r--r--sys/powerpc/powermac/pmu.c2
-rw-r--r--sys/powerpc/powermac/smu.c2
-rw-r--r--sys/rpc/clnt_bck.c2
-rw-r--r--sys/sparc64/sparc64/db_disasm.c4
-rw-r--r--sys/x86/cpufreq/smist.c2
117 files changed, 291 insertions, 293 deletions
diff --git a/sys/arm/altera/socfpga/socfpga_rstmgr.c b/sys/arm/altera/socfpga/socfpga_rstmgr.c
index 36a1d75..49db05e 100644
--- a/sys/arm/altera/socfpga/socfpga_rstmgr.c
+++ b/sys/arm/altera/socfpga/socfpga_rstmgr.c
@@ -145,7 +145,7 @@ rstmgr_sysctl(SYSCTL_HANDLER_ARGS)
break;
default:
return (1);
- };
+ }
reg = READ4(sc, RSTMGR_BRGMODRST);
enable = reg & bit ? 0 : 1;
diff --git a/sys/arm/amlogic/aml8726/aml8726_sdxc-m8.c b/sys/arm/amlogic/aml8726/aml8726_sdxc-m8.c
index 3daa99f..75825fb 100644
--- a/sys/arm/amlogic/aml8726/aml8726_sdxc-m8.c
+++ b/sys/arm/amlogic/aml8726/aml8726_sdxc-m8.c
@@ -621,7 +621,7 @@ spurious:
stop = 1;
if ((sndr & AML_SDXC_SEND_RESP_136) != 0) {
start = 1;
- stop = start + 4;;
+ stop = start + 4;
}
for (i = start; i < stop; i++) {
pdmar = CSR_READ_4(sc, AML_SDXC_PDMA_REG);
diff --git a/sys/arm/arm/disassem.c b/sys/arm/arm/disassem.c
index dbe533a..b7aa099 100644
--- a/sys/arm/arm/disassem.c
+++ b/sys/arm/arm/disassem.c
@@ -523,7 +523,7 @@ disasm(const disasm_interface_t *di, vm_offset_t loc, int altfmt)
else
di->di_printf(", ");
}
- };
+ }
di->di_printf("\n");
diff --git a/sys/arm/arm/vm_machdep.c b/sys/arm/arm/vm_machdep.c
index fdab1c6..fec2ca0 100644
--- a/sys/arm/arm/vm_machdep.c
+++ b/sys/arm/arm/vm_machdep.c
@@ -148,7 +148,7 @@ cpu_fork(register struct thread *td1, register struct proc *p2,
/* Setup to release spin count in fork_exit(). */
td2->td_md.md_spinlock_count = 1;
- td2->td_md.md_saved_cspr = PSR_SVC32_MODE;;
+ td2->td_md.md_saved_cspr = PSR_SVC32_MODE;
#if __ARM_ARCH >= 6
td2->td_md.md_tp = td1->td_md.md_tp;
#else
diff --git a/sys/arm/freescale/imx/imx6_sdma.c b/sys/arm/freescale/imx/imx6_sdma.c
index ae9a339..4839270 100644
--- a/sys/arm/freescale/imx/imx6_sdma.c
+++ b/sys/arm/freescale/imx/imx6_sdma.c
@@ -444,7 +444,7 @@ boot_firmware(struct sdma_softc *sc)
if (timeout-- <= 0)
break;
DELAY(10);
- };
+ }
if (ret == 0) {
device_printf(sc->dev, "SDMA failed to boot\n");
diff --git a/sys/arm/freescale/imx/imx6_ssi.c b/sys/arm/freescale/imx/imx6_ssi.c
index 184de2a..9387aa3 100644
--- a/sys/arm/freescale/imx/imx6_ssi.c
+++ b/sys/arm/freescale/imx/imx6_ssi.c
@@ -463,7 +463,7 @@ find_sdma_controller(struct sc_info *sc)
if (sdma_sc == NULL) {
device_printf(sc->dev, "No sDMA found. Can't operate\n");
return (ENXIO);
- };
+ }
sc->sdma_sc = sdma_sc;
diff --git a/sys/arm/freescale/vybrid/vf_ccm.c b/sys/arm/freescale/vybrid/vf_ccm.c
index 8f8a3f0..82284d5 100644
--- a/sys/arm/freescale/vybrid/vf_ccm.c
+++ b/sys/arm/freescale/vybrid/vf_ccm.c
@@ -379,15 +379,15 @@ set_clock(struct ccm_softc *sc, char *name)
reg &= ~(clk->sel_mask << clk->sel_shift);
reg |= (clk->sel_val << clk->sel_shift);
WRITE4(sc, clk->sel_reg, reg);
- };
+ }
reg = READ4(sc, clk->reg);
reg |= clk->enable_reg;
reg &= ~(clk->div_mask << clk->div_shift);
reg |= (clk->div_val << clk->div_shift);
WRITE4(sc, clk->reg, reg);
- };
- };
+ }
+ }
return (0);
}
@@ -425,8 +425,8 @@ ccm_fdt_set(struct ccm_softc *sc)
fdt_config += strlen(name) + 1;
len -= strlen(name) + 1;
set_clock(sc, name);
- };
- };
+ }
+ }
if (OF_peer(child) == 0) {
/* No more siblings. */
diff --git a/sys/arm/freescale/vybrid/vf_edma.c b/sys/arm/freescale/vybrid/vf_edma.c
index ed12072..9317921 100644
--- a/sys/arm/freescale/vybrid/vf_edma.c
+++ b/sys/arm/freescale/vybrid/vf_edma.c
@@ -161,7 +161,7 @@ channel_configure(struct edma_softc *sc, int mux_grp, int mux_src)
} else {
channel_first = 0;
mux_num = sc->device_id * 2;
- };
+ }
/* Take first unused eDMA channel */
ch = NULL;
@@ -171,12 +171,12 @@ channel_configure(struct edma_softc *sc, int mux_grp, int mux_src)
break;
}
ch = NULL;
- };
+ }
if (ch == NULL) {
/* Can't find free channel */
return (-1);
- };
+ }
chnum = i;
diff --git a/sys/arm/freescale/vybrid/vf_port.c b/sys/arm/freescale/vybrid/vf_port.c
index 943ca88..6ff8bfc 100644
--- a/sys/arm/freescale/vybrid/vf_port.c
+++ b/sys/arm/freescale/vybrid/vf_port.c
@@ -171,7 +171,7 @@ port_setup(int pnum, enum ev_type pevt, void (*ih)(void *), void *ih_user)
break;
default:
return (-1);
- };
+ }
reg = READ4(sc, PORT_PCR(pnum));
reg &= ~(PCR_IRQC_M << PCR_IRQC_S);
diff --git a/sys/arm/freescale/vybrid/vf_sai.c b/sys/arm/freescale/vybrid/vf_sai.c
index 309d95e..83f689f 100644
--- a/sys/arm/freescale/vybrid/vf_sai.c
+++ b/sys/arm/freescale/vybrid/vf_sai.c
@@ -433,7 +433,7 @@ find_edma_controller(struct sc_info *sc)
if ((len = OF_getproplen(edma_node, "device-id")) <= 0) {
return (ENXIO);
- };
+ }
OF_getprop(edma_node, "device-id", &dts_value, len);
edma_device_id = fdt32_to_cpu(dts_value);
@@ -447,16 +447,16 @@ find_edma_controller(struct sc_info *sc)
if (edma_sc->device_id == edma_device_id) {
/* found */
break;
- };
+ }
edma_sc = NULL;
- };
- };
+ }
+ }
if (edma_sc == NULL) {
device_printf(sc->dev, "no eDMA. can't operate\n");
return (ENXIO);
- };
+ }
sc->edma_sc = edma_sc;
@@ -465,7 +465,7 @@ find_edma_controller(struct sc_info *sc)
if (sc->edma_chnum < 0) {
/* cant setup eDMA */
return (ENXIO);
- };
+ }
return (0);
};
diff --git a/sys/arm/mv/mv_pci.c b/sys/arm/mv/mv_pci.c
index dc8b890..2ef6604 100644
--- a/sys/arm/mv/mv_pci.c
+++ b/sys/arm/mv/mv_pci.c
@@ -842,7 +842,7 @@ mv_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid,
default:
return (BUS_ALLOC_RESOURCE(device_get_parent(dev), dev,
type, rid, start, end, count, flags));
- };
+ }
if (RMAN_IS_DEFAULT_RANGE(start, end)) {
start = sc->sc_mem_base;
diff --git a/sys/arm/samsung/exynos/chrome_ec.c b/sys/arm/samsung/exynos/chrome_ec.c
index 2c88414..8f794b7 100644
--- a/sys/arm/samsung/exynos/chrome_ec.c
+++ b/sys/arm/samsung/exynos/chrome_ec.c
@@ -176,7 +176,7 @@ ec_command(uint8_t cmd, uint8_t *dout, uint8_t dout_len,
for (i = 0; i < dout_len; i++) {
msg_dout[i + 3] = dout[i];
- };
+ }
fill_checksum(msg_dout, dout_len + 3);
@@ -195,7 +195,7 @@ ec_command(uint8_t cmd, uint8_t *dout, uint8_t dout_len,
for (i = 0; i < dinp_len; i++) {
dinp[i] = msg_dinp[i + 2];
- };
+ }
free(msg_dout, M_DEVBUF);
free(msg_dinp, M_DEVBUF);
diff --git a/sys/arm/samsung/exynos/chrome_ec_spi.c b/sys/arm/samsung/exynos/chrome_ec_spi.c
index a018afa..9e54969 100644
--- a/sys/arm/samsung/exynos/chrome_ec_spi.c
+++ b/sys/arm/samsung/exynos/chrome_ec_spi.c
@@ -143,7 +143,7 @@ ec_command(uint8_t cmd, uint8_t *dout, uint8_t dout_len,
for (i = 0; i < dout_len; i++) {
msg_dout[i + 3] = dout[i];
- };
+ }
fill_checksum(msg_dout, dout_len + 3);
@@ -177,7 +177,7 @@ ec_command(uint8_t cmd, uint8_t *dout, uint8_t dout_len,
for (i = 0; i < dinp_len; i++) {
dinp[i] = msg_dinp[i + 2];
- };
+ }
free(msg_dout, M_DEVBUF);
free(msg_dinp, M_DEVBUF);
diff --git a/sys/arm/samsung/exynos/chrome_kb.c b/sys/arm/samsung/exynos/chrome_kb.c
index b10a5ac..6965d3c 100644
--- a/sys/arm/samsung/exynos/chrome_kb.c
+++ b/sys/arm/samsung/exynos/chrome_kb.c
@@ -255,12 +255,12 @@ ckb_check(keyboard_t *kbd)
if (sc->sc_flags & CKB_FLAG_POLLING) {
return (1);
- };
+ }
for (i = 0; i < sc->cols; i++)
if (sc->scan_local[i] != sc->scan[i]) {
return (1);
- };
+ }
if (sc->sc_repeating)
return (1);
@@ -356,7 +356,7 @@ ckb_read_char_locked(keyboard_t *kbd, int wait)
callout_reset(&sc->sc_repeat_callout, hz / 10,
ckb_repeat, sc);
return (sc->sc_repeat_key);
- };
+ }
if (sc->sc_flags & CKB_FLAG_POLLING) {
for (;;) {
@@ -374,7 +374,7 @@ ckb_read_char_locked(keyboard_t *kbd, int wait)
}
DELAY(1000);
}
- };
+ }
for (i = 0; i < sc->cols; i++) {
for (j = 0; j < sc->rows; j++) {
@@ -387,7 +387,7 @@ ckb_read_char_locked(keyboard_t *kbd, int wait)
key = keymap_read(sc, i, j);
if (key == 0) {
continue;
- };
+ }
if (newbit > 0) {
/* key pressed */
@@ -841,7 +841,7 @@ chrome_kb_attach(device_t dev)
for (i = 0; i < sc->cols; i++) {
sc->scan_local[i] = 0;
sc->scan[i] = 0;
- };
+ }
kbd_init_struct(kbd, KBD_DRIVER_NAME, KB_OTHER,
device_get_unit(dev), 0, 0, 0);
@@ -866,7 +866,7 @@ chrome_kb_attach(device_t dev)
if (kbd_register(kbd) < 0) {
return (ENXIO);
- };
+ }
KBD_CONFIG_DONE(kbd);
return (0);
diff --git a/sys/arm/samsung/exynos/exynos5_i2c.c b/sys/arm/samsung/exynos/exynos5_i2c.c
index d879138..756a27d 100644
--- a/sys/arm/samsung/exynos/exynos5_i2c.c
+++ b/sys/arm/samsung/exynos/exynos5_i2c.c
@@ -292,7 +292,7 @@ i2c_start(device_t dev, u_char slave, int timeout)
mtx_unlock(&sc->mutex);
return (IIC_ENOACK);
- };
+ }
mtx_unlock(&sc->mutex);
return (IIC_NOERR);
@@ -387,7 +387,7 @@ i2c_read(device_t dev, char *buf, int len,
reg = READ1(sc, I2CCON);
reg &= ~(ACKGEN);
WRITE1(sc, I2CCON, reg);
- };
+ }
clear_ipend(sc);
@@ -444,7 +444,7 @@ i2c_write(device_t dev, const char *buf, int len, int *sent, int timeout)
DPRINTF("cant i2c write: no ack\n");
mtx_unlock(&sc->mutex);
return (IIC_ENOACK);
- };
+ }
(*sent)++;
}
diff --git a/sys/arm/samsung/exynos/exynos5_pad.c b/sys/arm/samsung/exynos/exynos5_pad.c
index ea07f5d..27d0d53 100644
--- a/sys/arm/samsung/exynos/exynos5_pad.c
+++ b/sys/arm/samsung/exynos/exynos5_pad.c
@@ -330,10 +330,10 @@ get_bank(struct pad_softc *sc, int gpio_number,
*bank = sc->gpio_map[i];
*pin_shift = (gpio_number - n);
return (0);
- };
+ }
n += ngpio;
- };
+ }
return (-1);
}
@@ -516,7 +516,7 @@ pad_attach(device_t dev)
break;
default:
goto fail;
- };
+ }
if (bus_alloc_resources(dev, sc->pad_spec, sc->res)) {
device_printf(dev, "could not allocate resources\n");
@@ -528,7 +528,7 @@ pad_attach(device_t dev)
for (i = 0; i < sc->nports; i++) {
sc->bst[i] = rman_get_bustag(sc->res[i]);
sc->bsh[i] = rman_get_bushandle(sc->res[i]);
- };
+ }
sc->dev = dev;
diff --git a/sys/arm64/cavium/thunder_pcie_pem.c b/sys/arm64/cavium/thunder_pcie_pem.c
index 8679850..09ea206 100644
--- a/sys/arm64/cavium/thunder_pcie_pem.c
+++ b/sys/arm64/cavium/thunder_pcie_pem.c
@@ -530,7 +530,7 @@ thunder_pem_alloc_resource(device_t dev, device_t child, int type, int *rid,
parent_dev = device_get_parent(device_get_parent(dev));
return (BUS_ALLOC_RESOURCE(parent_dev, dev, type, rid, start,
end, count, flags));
- };
+ }
if (!RMAN_IS_DEFAULT_RANGE(start, end)) {
diff --git a/sys/boot/arm/at91/libat91/sd-card.c b/sys/boot/arm/at91/libat91/sd-card.c
index 803d782..d173399 100644
--- a/sys/boot/arm/at91/libat91/sd-card.c
+++ b/sys/boot/arm/at91/libat91/sd-card.c
@@ -187,7 +187,7 @@ MCI_StartReadBlock(unsigned blknum, void *dataBuffer)
// (PDC) Receiver Transfer Enable
AT91C_BASE_PDC_MCI->PDC_PTCR = (AT91C_PDC_TXTDIS | AT91C_PDC_RXTDIS);
AT91C_BASE_PDC_MCI->PDC_RPR = (unsigned int)dataBuffer;
- AT91C_BASE_PDC_MCI->PDC_RCR = SD_BLOCK_SIZE / 4;;
+ AT91C_BASE_PDC_MCI->PDC_RCR = SD_BLOCK_SIZE / 4;
AT91C_BASE_PDC_MCI->PDC_PTCR = AT91C_PDC_RXTEN;
// SDHC wants block offset, non-HC wants byte offset.
diff --git a/sys/boot/common/part.c b/sys/boot/common/part.c
index 3fad5dd..b349e96 100644
--- a/sys/boot/common/part.c
+++ b/sys/boot/common/part.c
@@ -514,7 +514,7 @@ vtoc8_parttype(uint16_t type)
return (PART_FREEBSD_VINUM);
case VTOC_TAG_FREEBSD_ZFS:
return (PART_FREEBSD_ZFS);
- };
+ }
return (PART_UNKNOWN);
}
diff --git a/sys/boot/userboot/test/test.c b/sys/boot/userboot/test/test.c
index d5707de..bf64e90 100644
--- a/sys/boot/userboot/test/test.c
+++ b/sys/boot/userboot/test/test.c
@@ -273,7 +273,7 @@ test_diskioctl(void *arg, int unit, u_long cmd, void *data)
break;
default:
return (ENOTTY);
- };
+ }
return (0);
}
diff --git a/sys/boot/userboot/userboot/elf64_freebsd.c b/sys/boot/userboot/userboot/elf64_freebsd.c
index 36129ef..19d369d 100644
--- a/sys/boot/userboot/userboot/elf64_freebsd.c
+++ b/sys/boot/userboot/userboot/elf64_freebsd.c
@@ -141,7 +141,7 @@ elf64_exec(struct preloaded_file *fp)
dev_cleanup();
- stack[0] = 0; /* return address */;
+ stack[0] = 0; /* return address */
stack[1] = modulep;
stack[2] = kernend;
CALLBACK(copyin, stack, 0x1000, sizeof(stack));
diff --git a/sys/cam/ctl/ctl_ha.c b/sys/cam/ctl/ctl_ha.c
index 57466ec..f1f5b8c 100644
--- a/sys/cam/ctl/ctl_ha.c
+++ b/sys/cam/ctl/ctl_ha.c
@@ -356,7 +356,7 @@ ctl_ha_send(struct ha_softc *softc)
printf("%s: sosend() error %d\n", __func__, error);
return;
}
- };
+ }
}
static void
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c
index 12bc3c46a..395c94f 100644
--- a/sys/compat/linprocfs/linprocfs.c
+++ b/sys/compat/linprocfs/linprocfs.c
@@ -640,7 +640,7 @@ linprocfs_doprocstat(PFS_FILL_ARGS)
} else {
startcode = 0;
startdata = 0;
- };
+ }
sbuf_printf(sb, "%d", p->p_pid);
#define PS_ADD(name, fmt, arg) sbuf_printf(sb, " " fmt, arg)
PS_ADD("comm", "(%s)", p->p_comm);
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c
index decacb9..4028cb4 100644
--- a/sys/dev/aac/aac.c
+++ b/sys/dev/aac/aac.c
@@ -3762,7 +3762,7 @@ aac_get_bus_info(struct aac_softc *sc)
device_printf(sc->aac_dev,
"No memory to add passthrough bus %d\n", i);
break;
- };
+ }
child = device_add_child(sc->aac_dev, "aacp", -1);
if (child == NULL) {
diff --git a/sys/dev/aacraid/aacraid.c b/sys/dev/aacraid/aacraid.c
index 26b2296..879d466 100644
--- a/sys/dev/aacraid/aacraid.c
+++ b/sys/dev/aacraid/aacraid.c
@@ -3550,7 +3550,7 @@ aac_container_bus(struct aac_softc *sc)
device_printf(sc->aac_dev,
"No memory to add container bus\n");
panic("Out of memory?!");
- };
+ }
child = device_add_child(sc->aac_dev, "aacraidp", -1);
if (child == NULL) {
device_printf(sc->aac_dev,
@@ -3662,7 +3662,7 @@ aac_get_bus_info(struct aac_softc *sc)
device_printf(sc->aac_dev,
"No memory to add passthrough bus %d\n", i);
break;
- };
+ }
child = device_add_child(sc->aac_dev, "aacraidp", -1);
if (child == NULL) {
diff --git a/sys/dev/ahci/ahci_pci.c b/sys/dev/ahci/ahci_pci.c
index 57f7ea9..b6a961f 100644
--- a/sys/dev/ahci/ahci_pci.c
+++ b/sys/dev/ahci/ahci_pci.c
@@ -491,7 +491,7 @@ ahci_pci_attach(device_t dev)
if ((error = ahci_pci_ctlr_reset(dev)) != 0) {
ahci_free_mem(dev);
return (error);
- };
+ }
/* Setup interrupts. */
diff --git a/sys/dev/ata/chipsets/ata-intel.c b/sys/dev/ata/chipsets/ata-intel.c
index 46d0055..502a859 100644
--- a/sys/dev/ata/chipsets/ata-intel.c
+++ b/sys/dev/ata/chipsets/ata-intel.c
@@ -380,7 +380,7 @@ ata_intel_ch_attach(device_t dev)
} else if (ata_intel_sata_sidpr_test(dev)) {
ch->hw.pm_read = ata_intel_sata_sidpr_read;
ch->hw.pm_write = ata_intel_sata_sidpr_write;
- };
+ }
}
if (ch->hw.pm_write != NULL) {
ch->flags |= ATA_PERIODIC_POLL;
diff --git a/sys/dev/ath/ath_hal/ar5416/ar5416_radar.c b/sys/dev/ath/ath_hal/ar5416/ar5416_radar.c
index edac235..9759b74 100644
--- a/sys/dev/ath/ath_hal/ar5416/ar5416_radar.c
+++ b/sys/dev/ath/ath_hal/ar5416/ar5416_radar.c
@@ -365,7 +365,7 @@ ar5416ProcessRadarEvent(struct ath_hal *ah, struct ath_rx_status *rxs,
/* Cannot use ctrl channel RSSI if ext channel is stronger */
if (ext_rssi >= (rssi + 3)) {
rssi = 0;
- };
+ }
break;
case EXT_CH_RADAR_FOUND:
/* Radar in extended channel */
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 8b1580a..e2dc250 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -1073,7 +1073,6 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
| IEEE80211_HTCAP_MAXAMSDU_3839
/* max A-MSDU length */
| IEEE80211_HTCAP_SMPS_OFF; /* SM power save off */
- ;
/*
* Enable short-GI for HT20 only if the hardware
diff --git a/sys/dev/bhnd/bcma/bcma_erom.c b/sys/dev/bhnd/bcma/bcma_erom.c
index 2fd3275..3f9abf9 100644
--- a/sys/dev/bhnd/bcma/bcma_erom.c
+++ b/sys/dev/bhnd/bcma/bcma_erom.c
@@ -567,7 +567,7 @@ bcma_erom_get_core_info(struct bcma_erom *erom,
for (u_int j = 0; j < i; j++) {
if (buffer[i].vendor == buffer[j].vendor &&
buffer[i].device == buffer[j].device)
- buffer[i].unit++;;
+ buffer[i].unit++;
}
}
@@ -625,7 +625,7 @@ erom_corecfg_fill_port_regions(struct bcma_erom *erom,
EROM_LOG(erom, "unsupported region type %hhx\n",
region_type);
return (EINVAL);
- };
+ }
/* Fetch the list to be populated */
sports = bcma_corecfg_get_port_list(corecfg, port_type);
diff --git a/sys/dev/bhnd/bhndb/bhndb_pci.c b/sys/dev/bhnd/bhndb/bhndb_pci.c
index 03a0996..ac5409a 100644
--- a/sys/dev/bhnd/bhndb/bhndb_pci.c
+++ b/sys/dev/bhnd/bhndb/bhndb_pci.c
@@ -1007,7 +1007,7 @@ bhndb_pci_discover_quirks(struct bhndb_pci_softc *sc,
for (qt = id->quirks; qt->quirks != 0; qt++) {
if (bhnd_hwrev_matches(hwrev, &qt->hwrev))
quirks |= qt->quirks;
- };
+ }
}
diff --git a/sys/dev/bhnd/cores/chipc/chipc.c b/sys/dev/bhnd/cores/chipc/chipc.c
index f47a8f2..e03ddfe 100644
--- a/sys/dev/bhnd/cores/chipc/chipc.c
+++ b/sys/dev/bhnd/cores/chipc/chipc.c
@@ -160,7 +160,7 @@ chipc_attach(device_t dev)
for (dq = chipc_quirks; dq->quirks != 0; dq++) {
if (bhnd_hwrev_matches(bhnd_get_hwrev(dev), &dq->hwrev))
sc->quirks |= dq->quirks;
- };
+ }
// TODO
switch (bhnd_chipc_nvram_src(dev)) {
diff --git a/sys/dev/bhnd/siba/siba.c b/sys/dev/bhnd/siba/siba.c
index 5f1410d..9e837e3f 100644
--- a/sys/dev/bhnd/siba/siba.c
+++ b/sys/dev/bhnd/siba/siba.c
@@ -126,7 +126,7 @@ siba_attach(device_t dev)
error = ENXIO;
goto cleanup;
}
- };
+ }
}
cleanup:
diff --git a/sys/dev/bktr/bktr_core.c b/sys/dev/bktr/bktr_core.c
index c38afe5..764eda5 100644
--- a/sys/dev/bktr/bktr_core.c
+++ b/sys/dev/bktr/bktr_core.c
@@ -590,7 +590,7 @@ bktr_store_address(unit, BKTR_MEM_BUF, buf);
bktr->id = BROOKTREE_879;
break;
}
- };
+ }
bktr->clr_on_start = FALSE;
@@ -3046,7 +3046,7 @@ rgb_prog( bktr_ptr_t bktr, char i_flag, int cols, int rows, int interlace )
/* sync vro */
*dma_prog++ = OP_SYNC | BKTR_GEN_IRQ | BKTR_RESYNC | BKTR_VRO;
*dma_prog++ = 0; /* NULL WORD */
- *dma_prog++ = OP_JUMP; ;
+ *dma_prog++ = OP_JUMP;
*dma_prog = (uint32_t ) vtophys(bktr->odd_dma_prog);
break;
}
diff --git a/sys/dev/bktr/bktr_os.c b/sys/dev/bktr/bktr_os.c
index e5ea53b..e8c0f7b 100644
--- a/sys/dev/bktr/bktr_os.c
+++ b/sys/dev/bktr/bktr_os.c
@@ -304,7 +304,7 @@ bktr_probe( device_t dev )
device_set_desc(dev, "BrookTree 879");
return BUS_PROBE_DEFAULT;
}
- };
+ }
return ENXIO;
}
diff --git a/sys/dev/bxe/bxe.c b/sys/dev/bxe/bxe.c
index 53d8e97..91a5bf3 100644
--- a/sys/dev/bxe/bxe.c
+++ b/sys/dev/bxe/bxe.c
@@ -1620,7 +1620,7 @@ bxe_read_dmae(struct bxe_softc *sc,
/* issue the command and wait for completion */
if ((rc = bxe_issue_dmae_with_comp(sc, &dmae)) != 0) {
bxe_panic(sc, ("DMAE failed (%d)\n", rc));
- };
+ }
}
void
diff --git a/sys/dev/cxgbe/iw_cxgbe/mem.c b/sys/dev/cxgbe/iw_cxgbe/mem.c
index e42aa1a..f7e90a5 100644
--- a/sys/dev/cxgbe/iw_cxgbe/mem.c
+++ b/sys/dev/cxgbe/iw_cxgbe/mem.c
@@ -796,7 +796,7 @@ struct ib_fast_reg_page_list *c4iw_alloc_fastreg_pbl(struct ib_device *device,
if (c4pl)
dma_addr = vtophys(c4pl);
else
- return ERR_PTR(-ENOMEM);;
+ return ERR_PTR(-ENOMEM);
pci_unmap_addr_set(c4pl, mapping, dma_addr);
c4pl->dma_addr = dma_addr;
diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c
index 777e4d1..e3b64b0 100644
--- a/sys/dev/cxgbe/t4_main.c
+++ b/sys/dev/cxgbe/t4_main.c
@@ -2128,7 +2128,7 @@ rw_via_memwin(struct adapter *sc, int idx, uint32_t addr, uint32_t *val,
} else {
v = *val++;
t4_write_reg(sc, mw->mw_base + addr -
- mw->mw_curpos, htole32(v));;
+ mw->mw_curpos, htole32(v));
}
addr += 4;
len -= 4;
diff --git a/sys/dev/drm2/radeon/radeon_bios.c b/sys/dev/drm2/radeon/radeon_bios.c
index ffb3756..78416bb 100644
--- a/sys/dev/drm2/radeon/radeon_bios.c
+++ b/sys/dev/drm2/radeon/radeon_bios.c
@@ -676,7 +676,7 @@ static bool radeon_acpi_vfct_bios(struct radeon_device *rdev)
vhdr->DeviceID != rdev->ddev->pci_device) {
DRM_INFO("ACPI VFCT table is not for this card\n");
goto out_unmap;
- };
+ }
if (vfct->VBIOSImageOffset + sizeof(VFCT_IMAGE_HEADER) + vhdr->ImageLength > tbl_size) {
DRM_ERROR("ACPI VFCT image truncated\n");
diff --git a/sys/dev/etherswitch/arswitch/arswitch.c b/sys/dev/etherswitch/arswitch/arswitch.c
index 4388819..8396f8a 100644
--- a/sys/dev/etherswitch/arswitch/arswitch.c
+++ b/sys/dev/etherswitch/arswitch/arswitch.c
@@ -225,7 +225,7 @@ arswitch_set_vlan_mode(struct arswitch_softc *sc, uint32_t mode)
break;
default:
sc->vlan_mode = 0;
- };
+ }
/* Reset VLANs. */
sc->hal.arswitch_vlan_init_hw(sc);
diff --git a/sys/dev/etherswitch/arswitch/arswitch_8327.c b/sys/dev/etherswitch/arswitch/arswitch_8327.c
index 6e221a8..92e44fc 100644
--- a/sys/dev/etherswitch/arswitch/arswitch_8327.c
+++ b/sys/dev/etherswitch/arswitch/arswitch_8327.c
@@ -662,7 +662,7 @@ ar8327_hw_setup(struct arswitch_softc *sc)
/* start PHY autonegotiation? */
/* XXX is this done as part of the normal PHY setup? */
- };
+ }
/* Let things settle */
DELAY(1000);
diff --git a/sys/dev/etherswitch/ip17x/ip175c.c b/sys/dev/etherswitch/ip17x/ip175c.c
index f787052..30614a4 100644
--- a/sys/dev/etherswitch/ip17x/ip175c.c
+++ b/sys/dev/etherswitch/ip17x/ip175c.c
@@ -210,7 +210,7 @@ ip175c_set_vlan_mode(struct ip17x_softc *sc, uint32_t mode)
ip17x_updatephy(sc->sc_dev, 30, 9, 0x80, 0);
sc->vlan_mode = ETHERSWITCH_VLAN_PORT;
break;
- };
+ }
/* Reset vlans. */
ip17x_reset_vlans(sc, sc->vlan_mode);
diff --git a/sys/dev/etherswitch/ip17x/ip175d.c b/sys/dev/etherswitch/ip17x/ip175d.c
index 4962ac2..5d43641 100644
--- a/sys/dev/etherswitch/ip17x/ip175d.c
+++ b/sys/dev/etherswitch/ip17x/ip175d.c
@@ -167,7 +167,7 @@ ip175d_set_vlan_mode(struct ip17x_softc *sc, uint32_t mode)
ip17x_updatephy(sc->sc_dev, 22, 0, 0xbfff, 0x8000);
sc->vlan_mode = 0;
break;
- };
+ }
if (sc->vlan_mode != 0) {
/*
diff --git a/sys/dev/hwpmc/hwpmc_mips.c b/sys/dev/hwpmc/hwpmc_mips.c
index 72f8e89..d9c26af 100644
--- a/sys/dev/hwpmc/hwpmc_mips.c
+++ b/sys/dev/hwpmc/hwpmc_mips.c
@@ -543,7 +543,7 @@ pmc_next_frame(register_t *pc, register_t *sp)
case OP_SYSCALL:
case OP_BREAK:
more = 1; /* stop now */
- };
+ }
break;
case OP_BCOND:
@@ -564,7 +564,7 @@ pmc_next_frame(register_t *pc, register_t *sp)
case OP_BCx:
case OP_BCy:
more = 2; /* stop after next instruction */
- };
+ }
break;
case OP_SW:
diff --git a/sys/dev/hyperv/utilities/hv_heartbeat.c b/sys/dev/hyperv/utilities/hv_heartbeat.c
index 09bd28b..62de10b 100644
--- a/sys/dev/hyperv/utilities/hv_heartbeat.c
+++ b/sys/dev/hyperv/utilities/hv_heartbeat.c
@@ -59,7 +59,7 @@ hv_heartbeat_cb(void *context)
hv_util_sc *softc;
softc = (hv_util_sc*)context;
- buf = softc->receive_buffer;;
+ buf = softc->receive_buffer;
channel = softc->hv_dev->channel;
ret = hv_vmbus_channel_recv_packet(channel, buf, PAGE_SIZE, &recvlen,
diff --git a/sys/dev/hyperv/utilities/hv_kvp.c b/sys/dev/hyperv/utilities/hv_kvp.c
index d71310b..50563c4 100644
--- a/sys/dev/hyperv/utilities/hv_kvp.c
+++ b/sys/dev/hyperv/utilities/hv_kvp.c
@@ -619,7 +619,7 @@ hv_kvp_process_request(void *context, int pending)
hv_kvp_log_info("%s: entering hv_kvp_process_request\n", __func__);
sc = (hv_kvp_sc*)context;
- kvp_buf = sc->util_sc.receive_buffer;;
+ kvp_buf = sc->util_sc.receive_buffer;
channel = sc->util_sc.hv_dev->channel;
ret = hv_vmbus_channel_recv_packet(channel, kvp_buf, 2 * PAGE_SIZE,
diff --git a/sys/dev/hyperv/utilities/hv_shutdown.c b/sys/dev/hyperv/utilities/hv_shutdown.c
index 0beed5a..b0802af 100644
--- a/sys/dev/hyperv/utilities/hv_shutdown.c
+++ b/sys/dev/hyperv/utilities/hv_shutdown.c
@@ -63,7 +63,7 @@ hv_shutdown_cb(void *context)
hv_util_sc *softc;
softc = (hv_util_sc*)context;
- buf = softc->receive_buffer;;
+ buf = softc->receive_buffer;
channel = softc->hv_dev->channel;
ret = hv_vmbus_channel_recv_packet(channel, buf, PAGE_SIZE,
&recv_len, &request_id);
diff --git a/sys/dev/ie/if_ie_isa.c b/sys/dev/ie/if_ie_isa.c
index c0403b1..73151b4 100644
--- a/sys/dev/ie/if_ie_isa.c
+++ b/sys/dev/ie/if_ie_isa.c
@@ -881,7 +881,7 @@ ie_modevent (mod, what, arg)
break;
default:
break;
- };
+ }
return (0);
}
diff --git a/sys/dev/ixgbe/if_ix.c b/sys/dev/ixgbe/if_ix.c
index 5e16fbd..ddee699 100644
--- a/sys/dev/ixgbe/if_ix.c
+++ b/sys/dev/ixgbe/if_ix.c
@@ -2122,7 +2122,7 @@ ixgbe_mc_array_itr(struct ixgbe_hw *hw, u8 **update_ptr, u32 *vmdq)
mta = (struct ixgbe_mc_addr *)*update_ptr;
*vmdq = mta->vmdq;
- *update_ptr = (u8*)(mta + 1);;
+ *update_ptr = (u8*)(mta + 1);
return (mta->addr);
}
diff --git a/sys/dev/ixgbe/ixgbe_common.c b/sys/dev/ixgbe/ixgbe_common.c
index feb74f6..c302071 100644
--- a/sys/dev/ixgbe/ixgbe_common.c
+++ b/sys/dev/ixgbe/ixgbe_common.c
@@ -1902,7 +1902,7 @@ static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw)
usec_delay(5);
ixgbe_standby_eeprom(hw);
- };
+ }
/*
* On some parts, SPI write time could vary from 0-20mSec on 3.3V
@@ -1988,7 +1988,7 @@ static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data,
* EEPROM
*/
mask = mask >> 1;
- };
+ }
/* We leave the "DI" bit set to "0" when we leave this routine. */
eec &= ~IXGBE_EEC_DI;
diff --git a/sys/dev/mii/mii_physubr.c b/sys/dev/mii/mii_physubr.c
index 84f4f44..4233159 100644
--- a/sys/dev/mii/mii_physubr.c
+++ b/sys/dev/mii/mii_physubr.c
@@ -154,7 +154,7 @@ mii_phy_setmedia(struct mii_softc *sc)
case (IFM_FDX | IFM_FLOW):
index = MII_MEDIA_10_T_FDX;
break;
- };
+ }
break;
case IFM_100_TX:
diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c
index 5b24a6d..f55d3e6 100644
--- a/sys/dev/mmc/host/dwmmc.c
+++ b/sys/dev/mmc/host/dwmmc.c
@@ -191,7 +191,7 @@ dwmmc_ctrl_reset(struct dwmmc_softc *sc, int reset_bits)
if (!(READ4(sc, SDMMC_CTRL) & reset_bits))
return (0);
DELAY(10);
- };
+ }
device_printf(sc->dev, "Reset failed\n");
diff --git a/sys/dev/mvs/mvs.c b/sys/dev/mvs/mvs.c
index b89db41..bdadf39 100644
--- a/sys/dev/mvs/mvs.c
+++ b/sys/dev/mvs/mvs.c
@@ -506,7 +506,7 @@ mvs_set_edma_mode(device_t dev, enum mvs_edma_mode mode)
device_printf(dev, "stopping EDMA engine failed\n");
break;
}
- };
+ }
}
ch->curr_mode = mode;
ch->fbs_enabled = 0;
diff --git a/sys/dev/nand/nand.c b/sys/dev/nand/nand.c
index 113953e..ae64121 100644
--- a/sys/dev/nand/nand.c
+++ b/sys/dev/nand/nand.c
@@ -811,7 +811,7 @@ nand_erase_blocks(struct nand_chip *chip, off_t offset, size_t len)
err = ENXIO;
block++;
- };
+ }
NANDBUS_UNLOCK(nandbus);
diff --git a/sys/dev/nand/nandsim_chip.c b/sys/dev/nand/nandsim_chip.c
index 3241e1a..5b568ab 100644
--- a/sys/dev/nand/nandsim_chip.c
+++ b/sys/dev/nand/nandsim_chip.c
@@ -309,7 +309,7 @@ nandsim_loop(void *arg)
links);
destroy_event(ev);
wakeup(ev);
- };
+ }
NANDSIM_CHIP_UNLOCK(chip);
nandsim_log(chip, NANDSIM_LOG_SM, "destroyed\n");
mtx_destroy(&chip->ns_lock);
diff --git a/sys/dev/ncr/ncr.c b/sys/dev/ncr/ncr.c
index 111cd69..8cf142f 100644
--- a/sys/dev/ncr/ncr.c
+++ b/sys/dev/ncr/ncr.c
@@ -2906,7 +2906,7 @@ static void ncr_script_fill (struct script * scr, struct scripth * scrh)
*p++ =RADDR (dsa);
*p++ =SCR_CALL;
*p++ =PADDR (trysel);
- };
+ }
*p++ =SCR_JUMP;
*p++ =PADDRH(tryloop);
@@ -2927,7 +2927,7 @@ static void ncr_script_fill (struct script * scr, struct scripth * scrh)
*p++ =PADDR (checkatn);
*p++ =SCR_MOVE_TBL ^ SCR_DATA_IN;
*p++ =offsetof (struct dsb, data[i]);
- };
+ }
*p++ =SCR_CALL;
*p++ =PADDR (checkatn);
@@ -2951,7 +2951,7 @@ static void ncr_script_fill (struct script * scr, struct scripth * scrh)
*p++ =PADDR (dispatch);
*p++ =SCR_MOVE_TBL ^ SCR_DATA_OUT;
*p++ =offsetof (struct dsb, data[i]);
- };
+ }
*p++ =SCR_CALL;
*p++ =PADDR (dispatch);
@@ -2997,7 +2997,7 @@ static void ncr_script_copy_and_bind (ncb_p np, ncrcmd *src, ncrcmd *dst, int le
device_printf(np->dev, "ERROR0 IN SCRIPT at %d.\n",
(int)(src - start - 1));
DELAY (1000000);
- };
+ }
if (DEBUG_FLAGS & DEBUG_SCRIPT)
printf ("%p: <%x>\n",
@@ -3062,7 +3062,7 @@ static void ncr_script_copy_and_bind (ncb_p np, ncrcmd *src, ncrcmd *dst, int le
default:
relocs = 0;
break;
- };
+ }
if (relocs) {
while (relocs--) {
@@ -3110,7 +3110,7 @@ static void ncr_script_copy_and_bind (ncb_p np, ncrcmd *src, ncrcmd *dst, int le
offset += 4;
}
- };
+ }
}
/*==========================================================
@@ -3614,7 +3614,7 @@ ncr_attach (device_t dev)
usrsync = np->maxsync;
if (usrsync < np->minsync)
usrsync = np->minsync;
- };
+ }
usrwide = (SCSI_NCR_MAX_WIDE);
if (usrwide > np->maxwide) usrwide=np->maxwide;
@@ -3719,7 +3719,7 @@ ncr_attach (device_t dev)
if (ncr_snooptest (np)) {
printf ("CACHE INCORRECTLY CONFIGURED.\n");
return EINVAL;
- };
+ }
/*
** Install the interrupt handler.
@@ -3817,7 +3817,7 @@ ncr_intr_locked(ncb_p np)
} while (INB(nc_istat) & (INTF|SIP|DIP));
np->ticks = 100;
- };
+ }
if (DEBUG_FLAGS & DEBUG_TINY) printf ("]\n");
}
@@ -3892,7 +3892,7 @@ ncr_action (struct cam_sim *sim, union ccb *ccb)
ccb->ccb_h.status = CAM_RESRC_UNAVAIL;
xpt_done(ccb);
return;
- };
+ }
cp->ccb = ccb;
@@ -3923,8 +3923,8 @@ ncr_action (struct cam_sim *sim, union ccb *ccb)
!= tp->tinfo.goal.offset)) {
tp->nego_cp = cp;
nego = NS_SYNC;
- };
- };
+ }
+ }
/*---------------------------------------------------
**
@@ -3950,11 +3950,11 @@ ncr_action (struct cam_sim *sim, union ccb *ccb)
if (DEBUG_FLAGS & DEBUG_TAGS) {
PRINT_ADDR(ccb);
printf ("using tag #%d.\n", cp->tag);
- };
- };
+ }
+ }
} else {
cp->tag=0;
- };
+ }
/*----------------------------------------------------
**
@@ -4001,7 +4001,7 @@ ncr_action (struct cam_sim *sim, union ccb *ccb)
printf (".\n");
};
break;
- };
+ }
/*----------------------------------------------------
**
@@ -4435,7 +4435,7 @@ ncr_complete (ncb_p np, nccb_p cp)
*/
tp->tinfo.goal.period = 0;
tp->tinfo.goal.offset = 0;
- };
+ }
/*
** Check for extended errors.
@@ -4453,10 +4453,10 @@ ncr_complete (ncb_p np, nccb_p cp)
default:
printf ("extended error %d.\n", cp->xerr_status);
break;
- };
+ }
if (cp->host_status==HS_COMPLETE)
cp->host_status = HS_FAIL;
- };
+ }
/*
** Check the status.
@@ -4579,9 +4579,9 @@ ncr_wakeup (ncb_p np, u_long code)
default:
ncr_complete (np, cp);
break;
- };
+ }
cp = cp -> link_nccb;
- };
+ }
}
static void
@@ -4959,7 +4959,7 @@ ncr_setsync(ncb_p np, nccb_p cp, u_char scntl3, u_char sxfer, u_char period)
if (cp->ccb->ccb_h.target_id != target) continue;
cp->sync_status = sxfer;
cp->wide_status = scntl3;
- };
+ }
}
/*==========================================================
@@ -5038,7 +5038,7 @@ static void ncr_setwide (ncb_p np, nccb_p cp, u_char wide, u_char ack)
if (cp->ccb->ccb_h.target_id != target) continue;
cp->sync_status = sxfer;
cp->wide_status = scntl3;
- };
+ }
}
/*==========================================================
@@ -5092,7 +5092,7 @@ ncr_timeout (void *arg)
** Let's try to wake it up.
*/
OUTB (nc_istat, SIGP);
- };
+ }
/*----------------------------------------------------
**
@@ -5120,7 +5120,7 @@ ncr_timeout (void *arg)
"timeout nccb=%p (skip)\n", cp);
cp->phys.header.launch.l_paddr
= NCB_SCRIPT_PHYS (np, skip);
- };
+ }
switch (cp->host_status) {
@@ -5129,14 +5129,14 @@ ncr_timeout (void *arg)
/* FALLTHROUGH */
case HS_DISCONNECT:
cp->host_status=HS_TIMEOUT;
- };
+ }
cp->tag = 0;
/*
** wakeup this nccb.
*/
ncr_complete (np, cp);
- };
+ }
}
callout_reset(&np->timer, step ? step : 1, ncr_timeout, np);
@@ -5150,7 +5150,7 @@ ncr_timeout (void *arg)
if (DEBUG_FLAGS & DEBUG_TINY) printf ("{");
ncr_exception (np);
if (DEBUG_FLAGS & DEBUG_TINY) printf ("}");
- };
+ }
}
/*==========================================================
@@ -5255,7 +5255,7 @@ static void ncr_exception (ncb_p np)
OUTB (nc_istat, INTF);
np->profile.num_fly++;
ncr_wakeup (np, 0);
- };
+ }
if (!(istat & (SIP|DIP))) {
return;
}
@@ -5291,7 +5291,7 @@ static void ncr_exception (ncb_p np)
if (sist & RST) {
ncr_init (np, bootverbose ? "scsi reset" : NULL, HS_RESET);
return;
- };
+ }
/*-------------------------------------------
** selection timeout
@@ -5306,7 +5306,7 @@ static void ncr_exception (ncb_p np)
!(dstat & (MDPE|BF|ABRT|SIR))) {
ncr_int_sto (np);
return;
- };
+ }
/*-------------------------------------------
** Phase mismatch.
@@ -5318,7 +5318,7 @@ static void ncr_exception (ncb_p np)
!(dstat & (MDPE|BF|ABRT|SIR|IID))) {
ncr_int_ma (np, dstat);
return;
- };
+ }
/*----------------------------------------
** move command with length 0
@@ -5335,7 +5335,7 @@ static void ncr_exception (ncb_p np)
*/
OUTL (nc_dsp, NCB_SCRIPT_PHYS (np, no_data));
return;
- };
+ }
/*-------------------------------------------
** Programmed interrupt
@@ -5348,7 +5348,7 @@ static void ncr_exception (ncb_p np)
(INB(nc_dsps) <= SIR_MAX)) {
ncr_int_sir (np);
return;
- };
+ }
/*========================================
** log message for real hard errors
@@ -5369,7 +5369,7 @@ static void ncr_exception (ncb_p np)
((volatile char*)&np->regdump)[i] = INB_OFF(i);
np->regdump.nc_dstat = dstat;
np->regdump.nc_sist = sist;
- };
+ }
/*----------------------------------------
@@ -5413,7 +5413,7 @@ static void ncr_exception (ncb_p np)
OUTB (nc_scr0, HS_UNEXPECTED);
OUTL (nc_dsp, NCB_SCRIPT_PHYS (np, cleanup));
return;
- };
+ }
/*----------------------------------------
** cannot disconnect
@@ -5438,7 +5438,7 @@ static void ncr_exception (ncb_p np)
*/
device_printf(np->dev, "INFO: LDSC while IID.\n");
return;
- };
+ }
device_printf(np->dev, "target %d doesn't release the bus.\n",
INB (nc_sdid)&0x0f);
/*
@@ -5446,7 +5446,7 @@ static void ncr_exception (ncb_p np)
** timeout will do the real work.
*/
return;
- };
+ }
/*----------------------------------------
** single step
@@ -5458,7 +5458,7 @@ static void ncr_exception (ncb_p np)
!(dstat & (MDPE|BF|ABRT|SIR|IID))) {
OUTB (nc_dcntl, np->rv_dcntl | STD);
return;
- };
+ }
/*
** @RECOVER@ HTH, SGE, ABRT.
@@ -5491,11 +5491,11 @@ static void ncr_exception (ncb_p np)
case 12:
printf (" ");
break;
- };
+ }
val = bus_read_1(np->reg_res, i);
printf (" %x%x", val/16, val%16);
if (i%16==15) printf (".\n");
- };
+ }
callout_stop(&np->timer);
@@ -5505,7 +5505,7 @@ static void ncr_exception (ncb_p np)
*/
OUTB (nc_istat, SRST);
return;
- };
+ }
#ifdef NCR_FREEZE
/*
@@ -5556,7 +5556,7 @@ static void ncr_int_sto (ncb_p np)
if (cp) {
cp-> host_status = HS_SEL_TIMEOUT;
ncr_complete (np, cp);
- };
+ }
/*
** repair start queue
@@ -5571,7 +5571,7 @@ static void ncr_int_sto (ncb_p np)
WRITESCRIPT(startpos[0], scratcha);
OUTL (nc_dsp, NCB_SCRIPT_PHYS (np, start));
return;
- };
+ }
ncr_init (np, "selection timeout", HS_FAIL);
}
@@ -5634,7 +5634,7 @@ static void ncr_int_ma (ncb_p np, u_char dstat)
if (INB(nc_scntl3) & EWS) {
if (ss2 & OLF1) rest++;
if (ss2 & ORF1) rest++;
- };
+ }
OUTB (nc_ctest3, np->rv_ctest3 | CLF); /* clear dma fifo */
OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
@@ -5682,7 +5682,7 @@ static void ncr_int_ma (ncb_p np, u_char dstat)
vdsp_base = np->scripth;
vdsp_off = dsp - np->p_scripth - 8;
nxtdsp = dsp;
- };
+ }
/*
** log the information
@@ -5691,13 +5691,13 @@ static void ncr_int_ma (ncb_p np, u_char dstat)
printf ("P%x%x ",cmd&7, sbcl&7);
printf ("RL=%d D=%d SS0=%x ",
(unsigned) rest, (unsigned) delta, ss0);
- };
+ }
if (DEBUG_FLAGS & DEBUG_PHASE) {
printf ("\nCP=%p CP2=%p DSP=%x NXT=%x VDSP=%p CMD=%x ",
cp, np->header.cp,
dsp,
nxtdsp, (volatile char*)vdsp_base+vdsp_off, cmd);
- };
+ }
/*
** get old startaddress and old length.
@@ -5712,7 +5712,7 @@ static void ncr_int_ma (ncb_p np, u_char dstat)
} else {
tblp = (u_int32_t *) 0;
olen = READSCRIPT_OFF(vdsp_base, vdsp_off) & 0xffffff;
- };
+ }
if (DEBUG_FLAGS & DEBUG_PHASE) {
printf ("OCMD=%x\nTBLP=%p OLEN=%lx OADR=%lx\n",
@@ -5720,7 +5720,7 @@ static void ncr_int_ma (ncb_p np, u_char dstat)
(void *) tblp,
(u_long) olen,
(u_long) oadr);
- };
+ }
/*
** if old phase not dataphase, leave here.
@@ -5742,7 +5742,7 @@ static void ncr_int_ma (ncb_p np, u_char dstat)
OUTB (nc_dcntl, np->rv_dcntl | STD);
return;
- };
+ }
/*
** choose the correct patch area.
@@ -5799,12 +5799,12 @@ static int ncr_show_msg (u_char * msg)
for (i=1;i<8;i++) {
if (i-1>msg[1]) break;
printf ("-%x",msg[i]);
- };
+ }
return (i+1);
} else if ((*msg & 0xf0) == 0x20) {
printf ("-%x",msg[1]);
return (2);
- };
+ }
return (1);
}
@@ -5873,7 +5873,7 @@ static void ncr_int_sir (ncb_p np)
break;
if (DEBUG_FLAGS & DEBUG_RESTART) printf ("- (remove)");
tp->hold_cp = cp = (nccb_p) 0;
- };
+ }
if (cp) {
if (DEBUG_FLAGS & DEBUG_RESTART)
@@ -5881,7 +5881,7 @@ static void ncr_int_sir (ncb_p np)
OUTL (nc_dsa, CCB_PHYS (cp, phys));
OUTL (nc_dsp, NCB_SCRIPTH_PHYS (np, getcc));
return;
- };
+ }
/*
** no job, resume normal processing
@@ -6001,7 +6001,7 @@ static void ncr_int_sir (ncb_p np)
PRINT_ADDR(cp->ccb);
printf ("negotiation failed sir=%x status=%x.\n",
num, cp->nego_status);
- };
+ }
/*
** any error in negotiation:
@@ -6017,7 +6017,7 @@ static void ncr_int_sir (ncb_p np)
ncr_setwide (np, cp, 0, 0);
break;
- };
+ }
np->msgin [0] = MSG_NOOP;
np->msgout[0] = MSG_NOOP;
cp->nego_status = 0;
@@ -6034,7 +6034,7 @@ static void ncr_int_sir (ncb_p np)
printf ("sync msgin: ");
(void) ncr_show_msg (np->msgin);
printf (".\n");
- };
+ }
/*
** get requested values.
@@ -6100,14 +6100,14 @@ static void ncr_int_sir (ncb_p np)
*/
ncr_setsync (np,cp,scntl3,(fak<<5)|ofs, per);
OUTL (nc_dsp, NCB_SCRIPT_PHYS (np, clrack));
- };
+ }
return;
case NS_WIDE:
ncr_setwide (np, cp, 0, 0);
break;
- };
- };
+ }
+ }
/*
** It was a request. Set value and
@@ -6148,7 +6148,7 @@ static void ncr_int_sir (ncb_p np)
printf ("wide msgin: ");
(void) ncr_show_msg (np->msgin);
printf (".\n");
- };
+ }
/*
** get requested values.
@@ -6189,14 +6189,14 @@ static void ncr_int_sir (ncb_p np)
*/
ncr_setwide (np, cp, wide, 1);
OUTL (nc_dsp, NCB_SCRIPT_PHYS (np, clrack));
- };
+ }
return;
case NS_SYNC:
ncr_setsync (np, cp, 0, 0xe0, 0);
break;
- };
- };
+ }
+ }
/*
** It was a request, set value and
@@ -6338,7 +6338,7 @@ static void ncr_int_sir (ncb_p np)
*/
OUTL (nc_dsp, NCB_SCRIPT_PHYS (np, reselect));
return;
- };
+ }
/*
** else remove the interrupt.
@@ -6347,7 +6347,7 @@ static void ncr_int_sir (ncb_p np)
device_printf(np->dev, "queue empty.\n");
WRITESCRIPT(start1[0], SCR_INT ^ IFFALSE (0));
break;
- };
+ }
out:
OUTB (nc_dcntl, np->rv_dcntl | STD);
@@ -6643,7 +6643,7 @@ static int ncr_scatter
csize -= size;
datalen -= size;
paddr = vtophys (vaddr);
- };
+ }
if(DEBUG_FLAGS & DEBUG_SCATTER)
printf ("\tseg #%d addr=%x size=%d (rest=%d).\n",
@@ -6661,7 +6661,7 @@ static int ncr_scatter
printf("ncr?: scatter/gather failed (residue=%d).\n",
(unsigned) datalen);
return (-1);
- };
+ }
return (segment);
}
@@ -6697,7 +6697,7 @@ static int ncr_regtest (struct ncb* np)
printf ("CACHE TEST FAILED: reg dstat-sstat2 readback %x.\n",
(unsigned) data);
return (0x10);
- };
+ }
return (0);
}
#endif
@@ -6753,7 +6753,7 @@ static int ncr_snooptest (struct ncb* np)
if (i>=NCR_SNOOP_TIMEOUT) {
printf ("CACHE TEST FAILED: timeout.\n");
return (0x20);
- };
+ }
/*
** Check termination position.
*/
@@ -6763,7 +6763,7 @@ static int ncr_snooptest (struct ncb* np)
(u_long) NCB_SCRIPTH_PHYS (np, snooptest), (u_long) pc,
(u_long) NCB_SCRIPTH_PHYS (np, snoopend) +8);
return (0x40);
- };
+ }
/*
** Show results.
*/
@@ -6771,17 +6771,17 @@ static int ncr_snooptest (struct ncb* np)
printf ("CACHE TEST FAILED: host wrote %d, ncr read %d.\n",
(int) host_wr, (int) ncr_rd);
err |= 1;
- };
+ }
if (host_rd != ncr_wr) {
printf ("CACHE TEST FAILED: ncr wrote %d, host read %d.\n",
(int) ncr_wr, (int) host_rd);
err |= 2;
- };
+ }
if (ncr_bk != ncr_wr) {
printf ("CACHE TEST FAILED: ncr wrote %d, read back %d.\n",
(int) ncr_wr, (int) ncr_bk);
err |= 4;
- };
+ }
return (err);
}
diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c
index 0a37079..58fee0b 100644
--- a/sys/dev/nfe/if_nfe.c
+++ b/sys/dev/nfe/if_nfe.c
@@ -2590,7 +2590,7 @@ nfe_setmulti(struct nfe_softc *sc)
bzero(addr, ETHER_ADDR_LEN);
bzero(mask, ETHER_ADDR_LEN);
goto done;
- };
+ }
if_multiaddr_array(ifp, mta, &mcnt, mc_count);
diff --git a/sys/dev/oce/oce_mbox.c b/sys/dev/oce/oce_mbox.c
index 01bd4cf..cb2ae81 100644
--- a/sys/dev/oce/oce_mbox.c
+++ b/sys/dev/oce/oce_mbox.c
@@ -2113,7 +2113,7 @@ oce_get_profile_config(POCE_SOFTC sc, uint32_t max_rss)
sc->nrssqs = MIN(sc->nrssqs, max_rss);
else
sc->nrssqs = max_rss;
- sc->nrqs = sc->nrssqs + 1; /* 1 for def RX */;
+ sc->nrqs = sc->nrssqs + 1; /* 1 for def RX */
}
error:
@@ -2213,7 +2213,7 @@ oce_get_func_config(POCE_SOFTC sc)
sc->nrssqs = MIN(sc->nrssqs, max_rss);
else
sc->nrssqs = max_rss;
- sc->nrqs = sc->nrssqs + 1; /* 1 for def RX */;
+ sc->nrqs = sc->nrssqs + 1; /* 1 for def RX */
}
error:
oce_dma_free(sc, &dma);
diff --git a/sys/dev/oce/oce_sysctl.c b/sys/dev/oce/oce_sysctl.c
index 3df7d0d..61adf93 100644
--- a/sys/dev/oce/oce_sysctl.c
+++ b/sys/dev/oce/oce_sysctl.c
@@ -331,7 +331,7 @@ static void oce_fill_flash_img_data(POCE_SOFTC sc, const struct flash_sec_info *
case IMG_PXEBIOS:
pimg->optype = 3;
if (IS_BE3(sc)) {
- pimg->img_offset = 13107200;;
+ pimg->img_offset = 13107200;
pimg->img_size = 524288;
}
break;
diff --git a/sys/dev/ow/ow.c b/sys/dev/ow/ow.c
index ea78890..f5b5c6b 100644
--- a/sys/dev/ow/ow.c
+++ b/sys/dev/ow/ow.c
@@ -413,7 +413,7 @@ again:
foundfp(dev, probed);
last_mask = probed;
prior = last;
- };
+ }
ow_release_bus(dev, dev);
return (0);
diff --git a/sys/dev/patm/if_patm_attach.c b/sys/dev/patm/if_patm_attach.c
index ed48bda..29a2a87 100644
--- a/sys/dev/patm/if_patm_attach.c
+++ b/sys/dev/patm/if_patm_attach.c
@@ -189,7 +189,7 @@ patm_attach(device_t dev)
IFP2IFATM(sc->ifp)->mib.hw_version = 0;
IFP2IFATM(sc->ifp)->mib.sw_version = 0;
IFP2IFATM(sc->ifp)->mib.vpi_bits = PATM_VPI_BITS;
- IFP2IFATM(sc->ifp)->mib.vci_bits = 0; /* set below */;
+ IFP2IFATM(sc->ifp)->mib.vci_bits = 0; /* set below */
IFP2IFATM(sc->ifp)->mib.max_vpcs = 0;
IFP2IFATM(sc->ifp)->mib.max_vccs = 0; /* set below */
IFP2IFATM(sc->ifp)->mib.media = IFM_ATM_UNKNOWN;
diff --git a/sys/dev/pcf/pcf.c b/sys/dev/pcf/pcf.c
index f9252b5..cf2b65d 100644
--- a/sys/dev/pcf/pcf.c
+++ b/sys/dev/pcf/pcf.c
@@ -466,7 +466,7 @@ pcf_read(device_t dev, char *buf, int len, int *read, int last,
len --;
bytes ++;
- };
+ }
error:
*read = bytes;
diff --git a/sys/dev/pdq/pdq.c b/sys/dev/pdq/pdq.c
index 2f44439..4fb98db 100644
--- a/sys/dev/pdq/pdq.c
+++ b/sys/dev/pdq/pdq.c
@@ -1291,7 +1291,7 @@ pdq_stop(
pdq->pdq_intrmask = 0;
/* PDQ_HOST_INT_STATE_CHANGE
|PDQ_HOST_INT_FATAL_ERROR|PDQ_HOST_INT_CMD_RSP_ENABLE
- |PDQ_HOST_INT_UNSOL_ENABLE */;
+ |PDQ_HOST_INT_UNSOL_ENABLE */
PDQ_CSR_WRITE(csrs, csr_host_int_enable, pdq->pdq_intrmask);
/*
diff --git a/sys/dev/qlxgbe/ql_hw.c b/sys/dev/qlxgbe/ql_hw.c
index 3ae3f38..bbe774b 100644
--- a/sys/dev/qlxgbe/ql_hw.c
+++ b/sys/dev/qlxgbe/ql_hw.c
@@ -3434,7 +3434,7 @@ qla_iscsi_pdu(qla_host_t *ha, struct mbuf *mp)
offset = hdrlen + 4;
if (mp->m_len >= offset) {
- th = (struct tcphdr *)(mp->m_data + hdrlen);;
+ th = (struct tcphdr *)(mp->m_data + hdrlen);
} else {
m_copydata(mp, hdrlen, 4, buf);
th = (struct tcphdr *)buf;
@@ -3458,7 +3458,7 @@ qla_iscsi_pdu(qla_host_t *ha, struct mbuf *mp)
offset = hdrlen + 4;
if (mp->m_len >= offset) {
- th = (struct tcphdr *)(mp->m_data + hdrlen);;
+ th = (struct tcphdr *)(mp->m_data + hdrlen);
} else {
m_copydata(mp, hdrlen, 4, buf);
th = (struct tcphdr *)buf;
diff --git a/sys/dev/ral/rt2860.c b/sys/dev/ral/rt2860.c
index 8bfb00d..c50c14d 100644
--- a/sys/dev/ral/rt2860.c
+++ b/sys/dev/ral/rt2860.c
@@ -3448,7 +3448,7 @@ rt2860_read_eeprom(struct rt2860_softc *sc, uint8_t macaddr[IEEE80211_ADDR_LEN])
sc->ext_5ghz_lna = (val >> 3) & 1;
sc->ext_2ghz_lna = (val >> 2) & 1;
/* check if RF supports automatic Tx access gain control */
- sc->calib_2ghz = sc->calib_5ghz = 0; /* XXX (val >> 1) & 1 */;
+ sc->calib_2ghz = sc->calib_5ghz = 0; /* XXX (val >> 1) & 1 */
/* check if we have a hardware radio switch */
sc->rfswitch = val & 1;
}
diff --git a/sys/dev/rt/if_rt.c b/sys/dev/rt/if_rt.c
index ff08748..fd042fe 100644
--- a/sys/dev/rt/if_rt.c
+++ b/sys/dev/rt/if_rt.c
@@ -460,7 +460,7 @@ rt_attach(device_t dev)
sc->rx_drx_idx[0]=PDMA_BASE+RX_DRX_IDX0;
sc->int_rx_done_mask=INT_RX_DONE;
sc->int_tx_done_mask=INT_TXQ0_DONE;
- };
+ }
/* allocate Tx and Rx rings */
for (i = 0; i < RT_SOFTC_TX_RING_COUNT; i++) {
diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c
index e741dd0d..71f7772 100644
--- a/sys/dev/sound/midi/midi.c
+++ b/sys/dev/sound/midi/midi.c
@@ -669,7 +669,7 @@ midi_open(struct cdev *i_dev, int flags, int mode, struct thread *td)
* from a previous session
*/
MIDIQ_CLEAR(m->inq);
- };
+ }
if (flags & FWRITE)
m->flags |= M_TX;
@@ -1126,7 +1126,7 @@ midisynth_open(void *n, void *arg, int flags)
*/
MIDIQ_CLEAR(m->inq);
m->rchan = 0;
- };
+ }
if (flags & FWRITE) {
m->flags |= M_TX;
diff --git a/sys/dev/sound/pci/hda/hdaa.c b/sys/dev/sound/pci/hda/hdaa.c
index a1b9f7c..b4c021b 100644
--- a/sys/dev/sound/pci/hda/hdaa.c
+++ b/sys/dev/sound/pci/hda/hdaa.c
@@ -779,7 +779,7 @@ hdaa_sense_init(struct hdaa_devinfo *devinfo)
(w->unsol < 0) ? "polling" :
"unsolicited responses");
);
- };
+ }
}
hdaa_presence_handler(w);
if (!HDA_PARAM_PIN_CAP_DP(w->wclass.pin.cap) &&
@@ -847,7 +847,7 @@ hdaa_widget_pin_patch(uint32_t config, const char *str)
if (bad[0] == 0) {
config |= ((ival << HDA_CONFIG_DEFAULTCONF_COLOR_SHIFT) &
HDA_CONFIG_DEFAULTCONF_COLOR_MASK);
- };
+ }
for (i = 0; i < 16; i++) {
if (strcasecmp(HDA_COLORS[i], value) == 0) {
config |= (i << HDA_CONFIG_DEFAULTCONF_COLOR_SHIFT);
@@ -872,7 +872,7 @@ hdaa_widget_pin_patch(uint32_t config, const char *str)
config |= ((ival << HDA_CONFIG_DEFAULTCONF_DEVICE_SHIFT) &
HDA_CONFIG_DEFAULTCONF_DEVICE_MASK);
continue;
- };
+ }
for (i = 0; i < 16; i++) {
if (strcasecmp(HDA_DEVS[i], value) == 0) {
config |= (i << HDA_CONFIG_DEFAULTCONF_DEVICE_SHIFT);
@@ -898,7 +898,7 @@ hdaa_widget_pin_patch(uint32_t config, const char *str)
config |= ((ival << HDA_CONFIG_DEFAULTCONF_CONNECTIVITY_SHIFT) &
HDA_CONFIG_DEFAULTCONF_CONNECTIVITY_MASK);
continue;
- };
+ }
for (i = 0; i < 4; i++) {
if (strcasecmp(HDA_CONNS[i], value) == 0) {
config |= (i << HDA_CONFIG_DEFAULTCONF_CONNECTIVITY_SHIFT);
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c
index 491aa54..43a0e9d 100644
--- a/sys/dev/sym/sym_hipd.c
+++ b/sys/dev/sym/sym_hipd.c
@@ -2025,7 +2025,7 @@ static void sym_fw_bind_script (hcb_p np, u32 *start, int len)
MDELAY (10000);
++cur;
continue;
- };
+ }
/*
* We use the bogus value 0xf00ff00f ;-)
@@ -2114,7 +2114,7 @@ static void sym_fw_bind_script (hcb_p np, u32 *start, int len)
default:
relocs = 0;
break;
- };
+ }
/*
* Scriptify:) the opcode.
@@ -2170,7 +2170,7 @@ static void sym_fw_bind_script (hcb_p np, u32 *start, int len)
*cur++ = cpu_to_scr(new);
}
- };
+ }
}
/*---------------------------------------------------------------------------*/
@@ -2867,7 +2867,7 @@ static int sym_prepare_nego(hcb_p np, ccb_p cp, int nego, u_char *msgptr)
msgptr[msglen++] = tp->tinfo.goal.width;
msgptr[msglen++] = tp->tinfo.goal.options & PPR_OPT_DT;
break;
- };
+ }
cp->nego_status = nego;
@@ -2877,8 +2877,8 @@ static int sym_prepare_nego(hcb_p np, ccb_p cp, int nego, u_char *msgptr)
sym_print_msg(cp, nego == NS_SYNC ? "sync msgout" :
nego == NS_WIDE ? "wide msgout" :
"ppr msgout", msgptr);
- };
- };
+ }
+ }
return msglen;
}
@@ -3827,7 +3827,7 @@ static void sym_intr1 (hcb_p np)
istat = INB (nc_istat); /* DUMMY READ */
if (DEBUG_FLAGS & DEBUG_TINY) printf ("F ");
(void)sym_wakeup_done (np);
- };
+ }
if (!(istat & (SIP|DIP)))
return;
@@ -3892,7 +3892,7 @@ static void sym_intr1 (hcb_p np)
else if (dstat & SSI) OUTONB_STD ();
else goto unknown_int;
return;
- };
+ }
/*
* Now, interrupts that donnot happen in normal
@@ -3910,7 +3910,7 @@ static void sym_intr1 (hcb_p np)
printf("SCSI BUS reset detected.\n");
sym_init (np, 1);
return;
- };
+ }
OUTB (nc_ctest3, np->rv_ctest3 | CLF); /* clear dma fifo */
OUTB (nc_stest3, TE|CSF); /* clear scsi fifo */
@@ -3922,7 +3922,7 @@ static void sym_intr1 (hcb_p np)
else if (sist & UDC) sym_int_udc (np);
else goto unknown_int;
return;
- };
+ }
/*
* Now, interrupts we are not able to recover cleanly.
@@ -3937,7 +3937,7 @@ static void sym_intr1 (hcb_p np)
(dstat & (MDPE|BF|ABRT|IID))) {
sym_start_reset(np);
return;
- };
+ }
unknown_int:
/*
@@ -4274,7 +4274,7 @@ static void sym_int_ma (hcb_p np)
if (ss2 & OLF1) rest++;
if (!(np->features & FE_C10))
if (ss2 & ORF1) rest++;
- };
+ }
/*
* Clear fifos.
@@ -4313,7 +4313,7 @@ static void sym_int_ma (hcb_p np)
if (DEBUG_FLAGS & DEBUG_PHASE) {
printf ("\nCP=%p DSP=%x NXT=%x VDSP=%p CMD=%x ",
cp, (unsigned)dsp, (unsigned)nxtdsp, vdsp, cmd);
- };
+ }
if (!vdsp) {
printf ("%s: interrupted SCRIPT address not found.\n",
@@ -4339,7 +4339,7 @@ static void sym_int_ma (hcb_p np)
} else {
tblp = (u32 *) 0;
olen = scr_to_cpu(vdsp[0]) & 0xffffff;
- };
+ }
if (DEBUG_FLAGS & DEBUG_PHASE) {
printf ("OCMD=%x\nTBLP=%p OLEN=%x OADR=%x\n",
@@ -4347,7 +4347,7 @@ static void sym_int_ma (hcb_p np)
tblp,
(unsigned) olen,
(unsigned) oadr);
- };
+ }
/*
* check cmd against assumed interrupted script command.
@@ -4360,7 +4360,7 @@ static void sym_int_ma (hcb_p np)
(unsigned)cmd, (unsigned)scr_to_cpu(vdsp[0]) >> 24);
goto reset_all;
- };
+ }
/*
* if old phase not dataphase, leave here.
@@ -4371,7 +4371,7 @@ static void sym_int_ma (hcb_p np)
cmd&7, INB(nc_sbcl)&7, (unsigned)olen,
(unsigned)oadr, (unsigned)rest);
goto unexpected_phase;
- };
+ }
/*
* Choose the correct PM save area.
@@ -5541,12 +5541,12 @@ static int sym_show_msg (u_char * msg)
for (i=1;i<8;i++) {
if (i-1>msg[1]) break;
printf ("-%x",msg[i]);
- };
+ }
return (i+1);
} else if ((*msg & 0xf0) == 0x20) {
printf ("-%x",msg[1]);
return (2);
- };
+ }
return (1);
}
@@ -5607,7 +5607,7 @@ static void sym_sync_nego(hcb_p np, tcb_p tp, ccb_p cp)
*/
if (DEBUG_FLAGS & DEBUG_NEGO) {
sym_print_msg(cp, "sync msgin", np->msgin);
- };
+ }
/*
* request or answer ?
@@ -5708,7 +5708,7 @@ static void sym_ppr_nego(hcb_p np, tcb_p tp, ccb_p cp)
*/
if (DEBUG_FLAGS & DEBUG_NEGO) {
sym_print_msg(cp, "ppr msgin", np->msgin);
- };
+ }
/*
* get requested values.
@@ -5847,7 +5847,7 @@ static void sym_wide_nego(hcb_p np, tcb_p tp, ccb_p cp)
*/
if (DEBUG_FLAGS & DEBUG_NEGO) {
sym_print_msg(cp, "wide msgin", np->msgin);
- };
+ }
/*
* Is it a request from the device?
@@ -5912,7 +5912,7 @@ static void sym_wide_nego(hcb_p np, tcb_p tp, ccb_p cp)
OUTL_DSP (SCRIPTA_BA (np, clrack));
return;
- };
+ }
/*
* It was a request, set value and
@@ -5972,7 +5972,7 @@ static void sym_nego_default(hcb_p np, tcb_p tp, ccb_p cp)
case NS_WIDE:
sym_setwide (np, cp, 0);
break;
- };
+ }
np->msgin [0] = M_NOOP;
np->msgout[0] = M_NOOP;
cp->nego_status = 0;
@@ -6237,7 +6237,7 @@ static void sym_int_sir (hcb_p np)
case SIR_NEGO_PROTO:
sym_nego_default(np, tp, cp);
goto out;
- };
+ }
out:
OUTONB_STD ();
@@ -6719,7 +6719,7 @@ static int sym_regtest (hcb_p np)
printf ("CACHE TEST FAILED: reg dstat-sstat2 readback %x.\n",
(unsigned) data);
return (0x10);
- };
+ }
return (0);
}
#endif
@@ -6763,7 +6763,7 @@ restart_test:
if (i>=SYM_SNOOP_TIMEOUT) {
printf ("CACHE TEST FAILED: timeout.\n");
return (0x20);
- };
+ }
/*
* Check for fatal DMA errors.
*/
@@ -6801,7 +6801,7 @@ restart_test:
(u_long) SCRIPTB0_BA (np, snooptest), (u_long) pc,
(u_long) SCRIPTB0_BA (np, snoopend) +8);
return (0x40);
- };
+ }
/*
* Show results.
*/
@@ -6809,17 +6809,17 @@ restart_test:
printf ("CACHE TEST FAILED: host wrote %d, chip read %d.\n",
(int) host_wr, (int) sym_rd);
err |= 1;
- };
+ }
if (host_rd != sym_wr) {
printf ("CACHE TEST FAILED: chip wrote %d, host read %d.\n",
(int) sym_wr, (int) host_rd);
err |= 2;
- };
+ }
if (sym_bk != sym_wr) {
printf ("CACHE TEST FAILED: chip wrote %d, read back %d.\n",
(int) sym_wr, (int) sym_bk);
err |= 4;
- };
+ }
return (err);
}
@@ -8734,7 +8734,7 @@ sym_pci_attach(device_t dev)
if (sym_snooptest (np)) {
device_printf(dev, "CACHE INCORRECTLY CONFIGURED.\n");
goto attach_failed;
- };
+ }
/*
* Now deal with CAM.
diff --git a/sys/dev/tdfx/tdfx_pci.c b/sys/dev/tdfx/tdfx_pci.c
index 918857a..be42375 100644
--- a/sys/dev/tdfx/tdfx_pci.c
+++ b/sys/dev/tdfx/tdfx_pci.c
@@ -127,7 +127,7 @@ tdfx_probe(device_t dev)
case PCI_DEVICE_3DFX_VOODOO1:
device_set_desc(dev, "3DFX Voodoo Graphics 3D Accelerator");
return BUS_PROBE_DEFAULT;
- };
+ }
return ENXIO;
}
diff --git a/sys/dev/ti/if_ti.c b/sys/dev/ti/if_ti.c
index eba7f7b..23ed50b 100644
--- a/sys/dev/ti/if_ti.c
+++ b/sys/dev/ti/if_ti.c
@@ -1720,7 +1720,7 @@ ti_init_rx_ring_std(struct ti_softc *sc)
for (i = 0; i < TI_STD_RX_RING_CNT; i++) {
if (ti_newbuf_std(sc, i) != 0)
return (ENOBUFS);
- };
+ }
sc->ti_std = TI_STD_RX_RING_CNT - 1;
TI_UPDATE_STDPROD(sc, TI_STD_RX_RING_CNT - 1);
@@ -1758,7 +1758,7 @@ ti_init_rx_ring_jumbo(struct ti_softc *sc)
for (i = 0; i < TI_JUMBO_RX_RING_CNT; i++) {
if (ti_newbuf_jumbo(sc, i, NULL) != 0)
return (ENOBUFS);
- };
+ }
sc->ti_jumbo = TI_JUMBO_RX_RING_CNT - 1;
TI_UPDATE_JUMBOPROD(sc, TI_JUMBO_RX_RING_CNT - 1);
@@ -1795,7 +1795,7 @@ ti_init_rx_ring_mini(struct ti_softc *sc)
for (i = 0; i < TI_MINI_RX_RING_CNT; i++) {
if (ti_newbuf_mini(sc, i) != 0)
return (ENOBUFS);
- };
+ }
sc->ti_mini = TI_MINI_RX_RING_CNT - 1;
TI_UPDATE_MINIPROD(sc, TI_MINI_RX_RING_CNT - 1);
diff --git a/sys/dev/uart/uart_dev_msm.c b/sys/dev/uart/uart_dev_msm.c
index 7ba46ac..cfd2330 100644
--- a/sys/dev/uart/uart_dev_msm.c
+++ b/sys/dev/uart/uart_dev_msm.c
@@ -123,7 +123,7 @@ msm_uart_param(struct uart_bas *bas, int baudrate, int databits,
}
uart_setreg(bas, UART_DM_MR2, ulcon);
- /* Set 115200 for both TX and RX. */;
+ /* Set 115200 for both TX and RX. */
uart_setreg(bas, UART_DM_CSR, UART_DM_CSR_115200);
uart_barrier(bas);
diff --git a/sys/dev/usb/net/if_mos.c b/sys/dev/usb/net/if_mos.c
index 1f92629..3a65ec6 100644
--- a/sys/dev/usb/net/if_mos.c
+++ b/sys/dev/usb/net/if_mos.c
@@ -608,7 +608,7 @@ mos_setmulti(struct usb_ether *ue)
if (ifma->ifma_addr->sa_family != AF_LINK) {
allmulti = 1;
continue;
- };
+ }
h = ether_crc32_be(LLADDR((struct sockaddr_dl *)
ifma->ifma_addr), ETHER_ADDR_LEN) >> 26;
hashtbl[h / 8] |= 1 << (h % 8);
diff --git a/sys/dev/usb/net/if_ure.c b/sys/dev/usb/net/if_ure.c
index 4d215f8..9d7f47a 100644
--- a/sys/dev/usb/net/if_ure.c
+++ b/sys/dev/usb/net/if_ure.c
@@ -419,7 +419,7 @@ ure_probe(device_t dev)
{
struct usb_attach_arg *uaa;
- uaa = device_get_ivars(dev);;
+ uaa = device_get_ivars(dev);
if (uaa->usb_mode != USB_MODE_HOST)
return (ENXIO);
if (uaa->info.bConfigIndex != URE_CONFIG_IDX)
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index 40be782..2884c57 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -709,7 +709,7 @@ vt_machine_kbdevent(int c)
/* Suspend machine. */
power_pm_suspend(POWER_SLEEP_STATE_SUSPEND);
return (1);
- };
+ }
return (0);
}
diff --git a/sys/fs/nandfs/nandfs_segment.c b/sys/fs/nandfs/nandfs_segment.c
index 22fb7cd..38019ef 100644
--- a/sys/fs/nandfs/nandfs_segment.c
+++ b/sys/fs/nandfs/nandfs_segment.c
@@ -199,7 +199,7 @@ delete_segment(struct nandfs_seginfo *seginfo)
TAILQ_REMOVE(&seg->segsum, bp, b_cluster.cluster_entry);
bp->b_flags &= ~B_MANAGED;
brelse(bp);
- };
+ }
LIST_REMOVE(seg, seg_link);
free(seg, M_DEVBUF);
@@ -752,7 +752,7 @@ nandfs_clean_segblocks(struct nandfs_segment *seg, uint8_t unlock)
TAILQ_FOREACH_SAFE(bp, &seg->segsum, b_cluster.cluster_entry, tbp) {
TAILQ_REMOVE(&seg->segsum, bp, b_cluster.cluster_entry);
nandfs_clean_buf(fsdev, bp);
- };
+ }
TAILQ_FOREACH_SAFE(bp, &seg->data, b_cluster.cluster_entry, tbp) {
TAILQ_REMOVE(&seg->data, bp, b_cluster.cluster_entry);
@@ -807,7 +807,7 @@ nandfs_save_segblocks(struct nandfs_segment *seg, uint8_t unlock)
goto out;
}
i++;
- };
+ }
i = 0;
TAILQ_FOREACH_SAFE(bp, &seg->data, b_cluster.cluster_entry, tbp) {
diff --git a/sys/fs/nfs/nfs_commonacl.c b/sys/fs/nfs/nfs_commonacl.c
index 0201e2d..d6ba742 100644
--- a/sys/fs/nfs/nfs_commonacl.c
+++ b/sys/fs/nfs/nfs_commonacl.c
@@ -436,7 +436,7 @@ nfsrv_buildacl(struct nfsrv_descript *nd, NFSACL_T *aclp, enum vtype type,
break;
default:
continue;
- };
+ }
retlen += nfsrv_buildace(nd, name, namelen, type, isgroup,
isowner, &aclp->acl_entry[i]);
entrycnt++;
@@ -505,7 +505,7 @@ nfsrv_compareacl(NFSACL_T *aclp1, NFSACL_T *aclp2)
case ACL_OTHER:
if (acep1->ae_perm != acep2->ae_perm)
return (1);
- };
+ }
acep1++;
acep2++;
}
diff --git a/sys/fs/nfs/nfs_commonport.c b/sys/fs/nfs/nfs_commonport.c
index a22b38c..a62a222 100644
--- a/sys/fs/nfs/nfs_commonport.c
+++ b/sys/fs/nfs/nfs_commonport.c
@@ -337,7 +337,7 @@ nfsvno_pathconf(struct vnode *vp, int flag, register_t *retf,
*/
*retf = 0;
printf("nfsrvd pathconf flag=%d not supp\n", flag);
- };
+ }
error = 0;
}
NFSEXITCODE(error);
diff --git a/sys/fs/nfs/nfs_commonsubs.c b/sys/fs/nfs/nfs_commonsubs.c
index 16d91af..0d46d95 100644
--- a/sys/fs/nfs/nfs_commonsubs.c
+++ b/sys/fs/nfs/nfs_commonsubs.c
@@ -507,7 +507,7 @@ nfsm_fhtom(struct nfsrv_descript *nd, u_int8_t *fhp, int size, int set_true)
}
(void) nfsm_strtom(nd, fhp, size);
break;
- };
+ }
return (bytesize);
}
@@ -544,7 +544,7 @@ nfsaddr_match(int family, union nethostaddr *haddr, NFSSOCKADDR_T nam)
}
break;
#endif
- };
+ }
return (0);
}
@@ -581,7 +581,7 @@ nfsaddr2_match(NFSSOCKADDR_T nam1, NFSSOCKADDR_T nam2)
}
break;
#endif
- };
+ }
return (0);
}
@@ -1774,7 +1774,7 @@ nfsv4_loadattr(struct nfsrv_descript *nd, vnode_t vp,
*/
bitpos = NFSATTRBIT_MAX;
break;
- };
+ }
}
/*
@@ -2508,7 +2508,7 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount *mp, vnode_t vp,
break;
default:
printf("EEK! Bad V4 attribute bitpos=%d\n", bitpos);
- };
+ }
}
}
if (naclp != NULL)
diff --git a/sys/fs/nfsclient/nfs_clbio.c b/sys/fs/nfsclient/nfs_clbio.c
index 3498dc0..567e326 100644
--- a/sys/fs/nfsclient/nfs_clbio.c
+++ b/sys/fs/nfsclient/nfs_clbio.c
@@ -681,7 +681,7 @@ ncl_bioread(struct vnode *vp, struct uio *uio, int ioflag, struct ucred *cred)
ncl_printf(" ncl_bioread: type %x unexpected\n", vp->v_type);
bp = NULL;
break;
- };
+ }
if (n > 0) {
error = vn_io_fault_uiomove(bp->b_data + on, (int)n, uio);
@@ -1664,7 +1664,7 @@ ncl_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td,
default:
ncl_printf("ncl_doio: type %x unexpected\n", vp->v_type);
break;
- };
+ }
if (error) {
bp->b_ioflags |= BIO_ERROR;
bp->b_error = error;
diff --git a/sys/fs/nfsclient/nfs_clport.c b/sys/fs/nfsclient/nfs_clport.c
index eaa445b..c063de1 100644
--- a/sys/fs/nfsclient/nfs_clport.c
+++ b/sys/fs/nfsclient/nfs_clport.c
@@ -925,7 +925,7 @@ nfscl_fillsattr(struct nfsrv_descript *nd, struct vattr *vap,
(void) nfsv4_fillattr(nd, vp->v_mount, vp, NULL, vap, NULL, 0,
&attrbits, NULL, NULL, 0, 0, 0, 0, (uint64_t)0);
break;
- };
+ }
}
/*
diff --git a/sys/fs/nfsclient/nfs_clrpcops.c b/sys/fs/nfsclient/nfs_clrpcops.c
index a7d47f0..cd12fba 100644
--- a/sys/fs/nfsclient/nfs_clrpcops.c
+++ b/sys/fs/nfsclient/nfs_clrpcops.c
@@ -487,7 +487,7 @@ nfsrpc_openrpc(struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen,
default:
error = NFSERR_BADXDR;
goto nfsmout;
- };
+ }
} else {
ndp->nfsdl_flags = NFSCLDL_READ;
}
@@ -2086,7 +2086,7 @@ nfsrpc_createv4(vnode_t dvp, char *name, int namelen, struct vattr *vap,
default:
error = NFSERR_BADXDR;
goto nfsmout;
- };
+ }
} else {
dp->nfsdl_flags = NFSCLDL_READ;
}
@@ -3698,7 +3698,7 @@ nfsrpc_advlock(vnode_t vp, off_t size, int op, struct flock *fl,
break;
default:
return (EINVAL);
- };
+ }
if (start < 0)
return (EINVAL);
if (fl->l_len != 0) {
diff --git a/sys/fs/nfsclient/nfs_clstate.c b/sys/fs/nfsclient/nfs_clstate.c
index 2600b80..a49e93f 100644
--- a/sys/fs/nfsclient/nfs_clstate.c
+++ b/sys/fs/nfsclient/nfs_clstate.c
@@ -1297,7 +1297,7 @@ nfscl_checkwritelocked(vnode_t vp, struct flock *fl,
break;
default:
return (1);
- };
+ }
if (fl->l_len != 0) {
end = off + fl->l_len;
if (end < off)
@@ -3507,7 +3507,7 @@ nfscl_docb(struct nfsrv_descript *nd, NFSPROC_T *p)
error = NFSERR_NOTSUPP;
}
break;
- };
+ }
if (error) {
if (error == EBADRPC || error == NFSERR_BADXDR) {
nd->nd_repstat = NFSERR_BADXDR;
diff --git a/sys/fs/nfsclient/nfs_clvnops.c b/sys/fs/nfsclient/nfs_clvnops.c
index 6aee675..4487b2a 100644
--- a/sys/fs/nfsclient/nfs_clvnops.c
+++ b/sys/fs/nfsclient/nfs_clvnops.c
@@ -974,7 +974,7 @@ nfs_setattr(struct vop_setattr_args *ap)
mtx_lock(&np->n_mtx);
np->n_vattr.na_size = np->n_size = vap->va_size;
mtx_unlock(&np->n_mtx);
- };
+ }
} else {
mtx_lock(&np->n_mtx);
if ((vap->va_mtime.tv_sec != VNOVAL || vap->va_atime.tv_sec != VNOVAL) &&
diff --git a/sys/fs/nfsserver/nfs_nfsdport.c b/sys/fs/nfsserver/nfs_nfsdport.c
index edbcb35..44ae88e 100644
--- a/sys/fs/nfsserver/nfs_nfsdport.c
+++ b/sys/fs/nfsserver/nfs_nfsdport.c
@@ -2370,7 +2370,7 @@ nfsrv_sattr(struct nfsrv_descript *nd, vnode_t vp, struct nfsvattr *nvap,
vfs_timestamp(&nvap->na_atime);
nvap->na_vaflags |= VA_UTIMES_NULL;
break;
- };
+ }
NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
switch (fxdr_unsigned(int, *tl)) {
case NFSV3SATTRTIME_TOCLIENT:
@@ -2383,11 +2383,11 @@ nfsrv_sattr(struct nfsrv_descript *nd, vnode_t vp, struct nfsvattr *nvap,
if (!toclient)
nvap->na_vaflags |= VA_UTIMES_NULL;
break;
- };
+ }
break;
case ND_NFSV4:
error = nfsv4_sattr(nd, vp, nvap, attrbitp, aclp, p);
- };
+ }
nfsmout:
NFSEXITCODE2(error, nd);
return (error);
@@ -2585,7 +2585,7 @@ nfsv4_sattr(struct nfsrv_descript *nd, vnode_t vp, struct nfsvattr *nvap,
*/
bitpos = NFSATTRBIT_MAX;
break;
- };
+ }
}
/*
diff --git a/sys/fs/nfsserver/nfs_nfsdserv.c b/sys/fs/nfsserver/nfs_nfsdserv.c
index bd054c4..2a0c9cf 100644
--- a/sys/fs/nfsserver/nfs_nfsdserv.c
+++ b/sys/fs/nfsserver/nfs_nfsdserv.c
@@ -1024,7 +1024,7 @@ nfsrvd_create(struct nfsrv_descript *nd, __unused int isdgram,
break;
default:
break;
- };
+ }
} else {
NFSM_DISSECT(tl, u_int32_t *, NFSX_UNSIGNED);
how = fxdr_unsigned(int, *tl);
@@ -1041,7 +1041,7 @@ nfsrvd_create(struct nfsrv_descript *nd, __unused int isdgram,
cverf[1] = *tl;
exclusive_flag = 1;
break;
- };
+ }
NFSVNO_SETATTRVAL(&nva, type, VREG);
}
}
@@ -1088,7 +1088,7 @@ nfsrvd_create(struct nfsrv_descript *nd, __unused int isdgram,
if (named.ni_vp == NULL)
NFSVNO_SETATTRVAL(&nva, mode, 0);
break;
- };
+ }
}
/*
@@ -2206,7 +2206,7 @@ nfsrvd_lock(struct nfsrv_descript *nd, __unused int isdgram,
default:
nd->nd_repstat = NFSERR_BADXDR;
goto nfsmout;
- };
+ }
if (*tl++ == newnfs_true)
flags |= NFSLCK_RECLAIM;
offset = fxdr_hyper(tl);
@@ -2400,7 +2400,7 @@ nfsrvd_lockt(struct nfsrv_descript *nd, __unused int isdgram,
default:
nd->nd_repstat = NFSERR_BADXDR;
goto nfsmout;
- };
+ }
lo.lo_first = fxdr_hyper(tl);
tl += 2;
len = fxdr_hyper(tl);
@@ -2509,7 +2509,7 @@ nfsrvd_locku(struct nfsrv_descript *nd, __unused int isdgram,
free(stp, M_NFSDSTATE);
free(lop, M_NFSDLOCK);
goto nfsmout;
- };
+ }
stp->ls_ownerlen = 0;
stp->ls_uid = nd->nd_cred->cr_uid;
stp->ls_seq = fxdr_unsigned(int, *tl++);
@@ -2645,7 +2645,7 @@ nfsrvd_open(struct nfsrv_descript *nd, __unused int isdgram,
default:
/* nd_repstat will be set to NFSERR_INVAL below. */
break;
- };
+ }
}
switch (i) {
case NFSV4OPEN_ACCESSREAD:
@@ -2659,7 +2659,7 @@ nfsrvd_open(struct nfsrv_descript *nd, __unused int isdgram,
break;
default:
nd->nd_repstat = NFSERR_INVAL;
- };
+ }
i = fxdr_unsigned(int, *tl++);
switch (i) {
case NFSV4OPEN_DENYNONE:
@@ -2675,7 +2675,7 @@ nfsrvd_open(struct nfsrv_descript *nd, __unused int isdgram,
break;
default:
nd->nd_repstat = NFSERR_INVAL;
- };
+ }
clientid.lval[0] = *tl++;
clientid.lval[1] = *tl;
if ((nd->nd_flag & ND_IMPLIEDCLID) != 0) {
@@ -2750,7 +2750,7 @@ nfsrvd_open(struct nfsrv_descript *nd, __unused int isdgram,
default:
nd->nd_repstat = NFSERR_BADXDR;
goto nfsmout;
- };
+ }
} else if (create != NFSV4OPEN_NOCREATE) {
nd->nd_repstat = NFSERR_BADXDR;
goto nfsmout;
@@ -2832,7 +2832,7 @@ nfsrvd_open(struct nfsrv_descript *nd, __unused int isdgram,
case NFSCREATE_EXCLUSIVE41:
exclusive_flag = 1;
break;
- };
+ }
}
nfsvno_open(nd, &named, clientid, &stateid, stp,
&exclusive_flag, &nva, cverf, create, aclp, &attrbits,
@@ -2853,7 +2853,7 @@ nfsrvd_open(struct nfsrv_descript *nd, __unused int isdgram,
default:
nd->nd_repstat = NFSERR_BADXDR;
goto nfsmout;
- };
+ }
stp->ls_flags |= NFSLCK_RECLAIM;
} else {
/* CLAIM_NULL_FH */
@@ -3247,7 +3247,7 @@ nfsrvd_opendowngrade(struct nfsrv_descript *nd, __unused int isdgram,
break;
default:
nd->nd_repstat = NFSERR_BADXDR;
- };
+ }
i = fxdr_unsigned(int, *tl);
switch (i) {
case NFSV4OPEN_DENYNONE:
@@ -3263,7 +3263,7 @@ nfsrvd_opendowngrade(struct nfsrv_descript *nd, __unused int isdgram,
break;
default:
nd->nd_repstat = NFSERR_BADXDR;
- };
+ }
clientid.lval[0] = stp->ls_stateid.other[0];
clientid.lval[1] = stp->ls_stateid.other[1];
diff --git a/sys/fs/nfsserver/nfs_nfsdsocket.c b/sys/fs/nfsserver/nfs_nfsdsocket.c
index 4497161..4e995c1 100644
--- a/sys/fs/nfsserver/nfs_nfsdsocket.c
+++ b/sys/fs/nfsserver/nfs_nfsdsocket.c
@@ -992,7 +992,7 @@ nfsrvd_compound(struct nfsrv_descript *nd, int isdgram, u_char *tag,
NULL, p, &vpnes);
}
}
- };
+ }
if (error) {
if (error == EBADRPC || error == NFSERR_BADXDR) {
nd->nd_repstat = NFSERR_BADXDR;
diff --git a/sys/fs/nfsserver/nfs_nfsdsubs.c b/sys/fs/nfsserver/nfs_nfsdsubs.c
index c0421e3..c177f45 100644
--- a/sys/fs/nfsserver/nfs_nfsdsubs.c
+++ b/sys/fs/nfsserver/nfs_nfsdsubs.c
@@ -1814,7 +1814,7 @@ nfsrv_putreferralattr(struct nfsrv_descript *nd, nfsattrbit_t *retbitp,
break;
default:
printf("EEK! Bad V4 refattr bitpos=%d\n", bitpos);
- };
+ }
}
}
*retnump = txdr_unsigned(retnum);
diff --git a/sys/fs/smbfs/smbfs_io.c b/sys/fs/smbfs/smbfs_io.c
index 4de3827..f549160 100644
--- a/sys/fs/smbfs/smbfs_io.c
+++ b/sys/fs/smbfs/smbfs_io.c
@@ -342,7 +342,7 @@ smbfs_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td
default:
printf("smbfs_doio: type %x unexpected\n",vp->v_type);
break;
- };
+ }
if (error) {
bp->b_error = error;
bp->b_ioflags |= BIO_ERROR;
diff --git a/sys/fs/smbfs/smbfs_subr.c b/sys/fs/smbfs/smbfs_subr.c
index 4e9f77d..a97fb80 100644
--- a/sys/fs/smbfs/smbfs_subr.c
+++ b/sys/fs/smbfs/smbfs_subr.c
@@ -59,7 +59,6 @@ void
smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp)
{
tsp->tv_sec = seconds + tzoff * 60;
- /*+ tz_minuteswest * 60 + (wall_cmos_clock ? adjkerntz : 0)*/;
}
/*
diff --git a/sys/fs/smbfs/smbfs_vnops.c b/sys/fs/smbfs/smbfs_vnops.c
index c78ceb2..1c762b0 100644
--- a/sys/fs/smbfs/smbfs_vnops.c
+++ b/sys/fs/smbfs/smbfs_vnops.c
@@ -341,7 +341,7 @@ smbfs_setattr(ap)
default:
error = EINVAL;
goto out;
- };
+ }
if (isreadonly) {
error = EROFS;
goto out;
diff --git a/sys/fs/tmpfs/tmpfs_subr.c b/sys/fs/tmpfs/tmpfs_subr.c
index fcc8782..72e8792 100644
--- a/sys/fs/tmpfs/tmpfs_subr.c
+++ b/sys/fs/tmpfs/tmpfs_subr.c
@@ -945,7 +945,7 @@ tmpfs_dir_attach_dup(struct tmpfs_node *dnode,
LIST_INSERT_BEFORE(de, nde, uh.td_dup.index_entries);
LIST_INSERT_HEAD(duphead, nde, uh.td_dup.entries);
return;
- };
+ }
}
/*
diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c
index 951d775..6f53473 100644
--- a/sys/fs/unionfs/union_subr.c
+++ b/sys/fs/unionfs/union_subr.c
@@ -1238,7 +1238,7 @@ unionfs_checkuppervp(struct vnode *vp, char *fil, int lno)
"unionfs_checkuppervp: on non-unionfs-node.\n");
#endif
panic("unionfs_checkuppervp");
- };
+ }
#endif
return (unp->un_uppervp);
}
@@ -1258,7 +1258,7 @@ unionfs_checklowervp(struct vnode *vp, char *fil, int lno)
"unionfs_checklowervp: on non-unionfs-node.\n");
#endif
panic("unionfs_checklowervp");
- };
+ }
#endif
return (unp->un_lowervp);
}
diff --git a/sys/geom/raid/md_promise.c b/sys/geom/raid/md_promise.c
index 2d161e7..42ae947 100644
--- a/sys/geom/raid/md_promise.c
+++ b/sys/geom/raid/md_promise.c
@@ -290,7 +290,7 @@ promise_meta_unused_range(struct promise_raid_conf **metaarr, int nsd,
metaarr[i]->disk_sectors;
csize = sectors - coff;
i++;
- };
+ }
return ((*size > 0) ? 1 : 0);
}
diff --git a/sys/geom/sched/g_sched.c b/sys/geom/sched/g_sched.c
index d4e3ca0..192f5c5 100644
--- a/sys/geom/sched/g_sched.c
+++ b/sys/geom/sched/g_sched.c
@@ -742,7 +742,7 @@ g_gsched_modevent(module_t mod, int cmd, void *arg)
G_SCHED_DEBUG(0, "Unloaded module %s error %d.",
gsp->gs_name, error);
break;
- };
+ }
return (error);
}
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index 4320b14..a0f624e 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -1420,7 +1420,7 @@ vn_stat(vp, sb, active_cred, file_cred, td)
break;
default:
return (EBADF);
- };
+ }
sb->st_mode = mode;
sb->st_nlink = vap->va_nlink;
sb->st_uid = vap->va_uid;
diff --git a/sys/kgssapi/gss_impl.c b/sys/kgssapi/gss_impl.c
index 3a427a5..38930d7 100644
--- a/sys/kgssapi/gss_impl.c
+++ b/sys/kgssapi/gss_impl.c
@@ -323,7 +323,7 @@ kgssapi_modevent(module_t mod, int type, void *data)
/* FALLTHROUGH */
default:
error = EOPNOTSUPP;
- };
+ }
return (error);
}
static moduledata_t kgssapi_mod = {
diff --git a/sys/mips/mips/db_disasm.c b/sys/mips/mips/db_disasm.c
index 14788ed..108c9dd 100644
--- a/sys/mips/mips/db_disasm.c
+++ b/sys/mips/mips/db_disasm.c
@@ -226,7 +226,7 @@ md_printins(int ins, int mdbdot)
default:
db_printf("\t%s,%s,%s", reg_name[i.RType.rd],
reg_name[i.RType.rs], reg_name[i.RType.rt]);
- };
+ }
break;
case OP_BCOND:
@@ -288,7 +288,7 @@ md_printins(int ins, int mdbdot)
default:
db_printf("%s", c0_opname[i.FRType.func]);
- };
+ }
break;
case OP_COP1:
@@ -323,7 +323,7 @@ md_printins(int ins, int mdbdot)
db_printf("%s.%s\tf%d,f%d,f%d",
cop1_name[i.FRType.func], fmt_name[i.FRType.fmt],
i.FRType.fd, i.FRType.fs, i.FRType.ft);
- };
+ }
break;
case OP_J:
diff --git a/sys/mips/mips/db_trace.c b/sys/mips/mips/db_trace.c
index 445600c..1359a53 100644
--- a/sys/mips/mips/db_trace.c
+++ b/sys/mips/mips/db_trace.c
@@ -260,7 +260,7 @@ loop:
case OP_SYSCALL:
case OP_BREAK:
more = 1; /* stop now */
- };
+ }
break;
case OP_BCOND:
@@ -281,7 +281,7 @@ loop:
case OP_BCx:
case OP_BCy:
more = 2; /* stop after next instruction */
- };
+ }
break;
case OP_SW:
diff --git a/sys/net/if_gif.c b/sys/net/if_gif.c
index 1607af9..cfa4650 100644
--- a/sys/net/if_gif.c
+++ b/sys/net/if_gif.c
@@ -1023,7 +1023,7 @@ gif_set_tunnel(struct ifnet *ifp, struct sockaddr *src, struct sockaddr *dst)
#endif
default:
return (EAFNOSUPPORT);
- };
+ }
if (sc->gif_family != src->sa_family)
gif_detach(sc);
diff --git a/sys/net/if_gre.c b/sys/net/if_gre.c
index 9d4a976..425df8e 100644
--- a/sys/net/if_gre.c
+++ b/sys/net/if_gre.c
@@ -353,7 +353,7 @@ gre_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
if (error != 0)
goto end;
#endif
- };
+ }
error = gre_set_tunnel(ifp, src, dst);
break;
case SIOCDIFPHYADDR:
@@ -960,7 +960,7 @@ gre_transmit(struct ifnet *ifp, struct mbuf *m)
default:
m_freem(m);
error = ENETDOWN;
- };
+ }
drop:
if (error)
if_inc_counter(ifp, IFCOUNTER_OERRORS, 1);
diff --git a/sys/netgraph/netflow/ng_netflow.c b/sys/netgraph/netflow/ng_netflow.c
index 4f9f953c..a142903 100644
--- a/sys/netgraph/netflow/ng_netflow.c
+++ b/sys/netgraph/netflow/ng_netflow.c
@@ -609,7 +609,7 @@ ng_netflow_rcvdata (hook_p hook, item_p item)
*/
log(LOG_ERR, "ng_netflow: incoming data on export hook!\n");
ERROUT(EINVAL);
- };
+ }
if (hook == iface->hook) {
if ((iface->info.conf & NG_NETFLOW_CONF_INGRESS) == 0)
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 0f48e12..af8505c 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -2056,7 +2056,7 @@ ng_acquire_read(node_p node, item_p item)
return (item);
}
cpu_spinwait();
- };
+ }
/* Queue the request for later. */
ng_queue_rw(node, item, NGQRW_R);
diff --git a/sys/netgraph/ng_ipfw.c b/sys/netgraph/ng_ipfw.c
index 092a041..066c31f 100644
--- a/sys/netgraph/ng_ipfw.c
+++ b/sys/netgraph/ng_ipfw.c
@@ -117,7 +117,7 @@ ng_ipfw_mod_event(module_t mod, int event, void *data)
!= 0) {
log(LOG_ERR, "%s: can't create ng_ipfw node", __func__);
break;
- };
+ }
/* Try to name node */
if (ng_name_node(fw_node, "ipfw") != 0)
@@ -240,7 +240,7 @@ ng_ipfw_rcvdata(hook_p hook, item_p item)
if (tag == NULL) {
NG_FREE_M(m);
return (EINVAL); /* XXX: find smth better */
- };
+ }
if (m->m_len < sizeof(struct ip) &&
(m = m_pullup(m, sizeof(struct ip))) == NULL)
diff --git a/sys/netgraph/ng_nat.c b/sys/netgraph/ng_nat.c
index 71419d6..cdec6e0 100644
--- a/sys/netgraph/ng_nat.c
+++ b/sys/netgraph/ng_nat.c
@@ -838,7 +838,7 @@ ng_nat_shutdown(node_p node)
struct ng_nat_rdr_lst *entry = STAILQ_FIRST(&priv->redirhead);
STAILQ_REMOVE_HEAD(&priv->redirhead, entries);
free(entry, M_NETGRAPH);
- };
+ }
/* Final free. */
LibAliasUninit(priv->lib);
diff --git a/sys/netpfil/ipfw/ip_fw_sockopt.c b/sys/netpfil/ipfw/ip_fw_sockopt.c
index 25ac16e..857b465 100644
--- a/sys/netpfil/ipfw/ip_fw_sockopt.c
+++ b/sys/netpfil/ipfw/ip_fw_sockopt.c
@@ -230,7 +230,7 @@ ipfw_find_rule(struct ip_fw_chain *chain, uint32_t key, uint32_t id)
lo = i + 1; /* continue from the next one */
else /* r->id >= id */
hi = i; /* this might be good */
- };
+ }
return hi;
}
diff --git a/sys/netsmb/smb_subr.c b/sys/netsmb/smb_subr.c
index 3846b75..2992f99 100644
--- a/sys/netsmb/smb_subr.c
+++ b/sys/netsmb/smb_subr.c
@@ -209,7 +209,7 @@ m_dumpm(struct mbuf *m) {
printf("%02x ",((int)*(p++)) & 0xff);
}
m=m->m_next;
- };
+ }
printf("\n");
}
#endif
diff --git a/sys/ofed/drivers/infiniband/hw/mthca/mthca_provider.c b/sys/ofed/drivers/infiniband/hw/mthca/mthca_provider.c
index 3fed07c..adc24aa 100644
--- a/sys/ofed/drivers/infiniband/hw/mthca/mthca_provider.c
+++ b/sys/ofed/drivers/infiniband/hw/mthca/mthca_provider.c
@@ -1045,7 +1045,7 @@ static struct ib_mr *mthca_reg_user_mr(struct ib_pd *pd, u64 start, u64 length,
shift = ffs(mr->umem->page_size) - 1;
- n = mr->umem->nmap;;
+ n = mr->umem->nmap;
mr->mtt = mthca_alloc_mtt(dev, n);
if (IS_ERR(mr->mtt)) {
err = PTR_ERR(mr->mtt);
diff --git a/sys/ofed/drivers/net/mlx4/cmd.c b/sys/ofed/drivers/net/mlx4/cmd.c
index f0805e8..9d51779 100644
--- a/sys/ofed/drivers/net/mlx4/cmd.c
+++ b/sys/ofed/drivers/net/mlx4/cmd.c
@@ -2572,7 +2572,7 @@ int mlx4_set_vf_link_state(struct mlx4_dev *dev, int port, int vf, int link_stat
mlx4_warn(dev, "unknown value for link_state %02x on slave %d port %d\n",
link_state, slave, port);
return -EINVAL;
- };
+ }
/* update the admin & oper state on the link state */
s_info = &priv->mfunc.master.vf_admin[slave].vport[port];
vp_oper = &priv->mfunc.master.vf_oper[slave].vport[port];
diff --git a/sys/ofed/drivers/net/mlx4/eq.c b/sys/ofed/drivers/net/mlx4/eq.c
index 31fafbe..145b9bc 100644
--- a/sys/ofed/drivers/net/mlx4/eq.c
+++ b/sys/ofed/drivers/net/mlx4/eq.c
@@ -754,7 +754,7 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq)
!!(eqe->owner & 0x80) ^
!!(eq->cons_index & eq->nent) ? "HW" : "SW");
break;
- };
+ }
++eq->cons_index;
eqes_found = 1;
diff --git a/sys/pc98/cbus/olpt.c b/sys/pc98/cbus/olpt.c
index 9aa8212..983ec07 100644
--- a/sys/pc98/cbus/olpt.c
+++ b/sys/pc98/cbus/olpt.c
@@ -420,7 +420,7 @@ lptopen (struct cdev *dev, int flags, int fmt, struct thread *td)
lprintf(("irq %x\n", sc->sc_irq));
if (sc->sc_irq & LP_USE_IRQ) {
sc->sc_state |= TOUT;
- sc->sc_backoff = hz / LPTOUTINITIAL;;
+ sc->sc_backoff = hz / LPTOUTINITIAL;
callout_reset(&sc->timer, sc->sc_backoff, lptout, sc);
}
diff --git a/sys/powerpc/powermac/fcu.c b/sys/powerpc/powermac/fcu.c
index 3d5e79f..324fd1f 100644
--- a/sys/powerpc/powermac/fcu.c
+++ b/sys/powerpc/powermac/fcu.c
@@ -553,7 +553,7 @@ fcu_fanrpm_sysctl(SYSCTL_HANDLER_ARGS)
default:
/* This should never happen */
return (EINVAL);
- };
+ }
}
/* We can only read the RPM from a PWM controlled fan, so return. */
diff --git a/sys/powerpc/powermac/pmu.c b/sys/powerpc/powermac/pmu.c
index 9df83cb..8080c21 100644
--- a/sys/powerpc/powermac/pmu.c
+++ b/sys/powerpc/powermac/pmu.c
@@ -1064,7 +1064,7 @@ pmu_battquery_sysctl(SYSCTL_HANDLER_ARGS)
default:
/* This should never happen */
result = -1;
- };
+ }
error = sysctl_handle_int(oidp, &result, 0, req);
diff --git a/sys/powerpc/powermac/smu.c b/sys/powerpc/powermac/smu.c
index bc8ea43..cbc0e35 100644
--- a/sys/powerpc/powermac/smu.c
+++ b/sys/powerpc/powermac/smu.c
@@ -888,7 +888,7 @@ smu_fanrpm_sysctl(SYSCTL_HANDLER_ARGS)
default:
/* This should never happen */
return (EINVAL);
- };
+ }
}
/* We can only read the RPM from a PWM controlled fan, so return. */
if ((arg2 & 0xff00) == SMU_PWM_SYSCTL_RPM)
diff --git a/sys/rpc/clnt_bck.c b/sys/rpc/clnt_bck.c
index b63b2b1..477b276 100644
--- a/sys/rpc/clnt_bck.c
+++ b/sys/rpc/clnt_bck.c
@@ -381,7 +381,7 @@ printf("emsgsize\n");
break;
default:
stat = RPC_CANTRECV;
- };
+ }
errp->re_status = stat;
goto out;
} else {
diff --git a/sys/sparc64/sparc64/db_disasm.c b/sys/sparc64/sparc64/db_disasm.c
index 55e2109..453aea6 100644
--- a/sys/sparc64/sparc64/db_disasm.c
+++ b/sys/sparc64/sparc64/db_disasm.c
@@ -867,7 +867,7 @@ db_disasm(db_addr_t loc, bool altfmt)
break;
}
i_ptr++;
- };
+ }
if (!matchp) {
db_printf("undefined\n");
@@ -1023,7 +1023,7 @@ db_disasm(db_addr_t loc, bool altfmt)
}
if (*(++f_ptr))
db_printf(", ");
- };
+ }
db_printf("\n");
diff --git a/sys/x86/cpufreq/smist.c b/sys/x86/cpufreq/smist.c
index 5cfd72b..6116d94 100644
--- a/sys/x86/cpufreq/smist.c
+++ b/sys/x86/cpufreq/smist.c
@@ -223,7 +223,7 @@ set_ownership(device_t dev)
bus_dma_tag_destroy(tag);
device_printf(dev, "can't load mem\n");
return (ENXIO);
- };
+ }
DPRINT(dev, "taking ownership over BIOS return %d\n", cb_data.result);
bus_dmamap_unload(tag, map);
bus_dmamem_free(tag, cb_data.buf, map);
OpenPOWER on IntegriCloud