aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bxe
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-08-09 19:41:46 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-08-09 19:41:46 +0000
commitf0be707d74e62c08a44870e49b42ec0008ecc891 (patch)
tree6b95e97899cf3a3b71cb99b19cf877c8b7b48649 /sys/dev/bxe
parentbd937497ea2a1111d9cf6ff1cdbe698b3cdd430a (diff)
downloadsrc-f0be707d74e62c08a44870e49b42ec0008ecc891.tar.gz
src-f0be707d74e62c08a44870e49b42ec0008ecc891.zip
sys/dev: replace comma with semicolon when pertinent.
Uses of commas instead of a semicolons can easily go undetected. The comma can serve as a statement separator but this shouldn't be abused when statements are meant to be standalone. Detected with devel/coccinelle following a hint from DragonFlyBSD. MFC after: 1 month
Notes
Notes: svn path=/head/; revision=303891
Diffstat (limited to 'sys/dev/bxe')
-rw-r--r--sys/dev/bxe/bxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/bxe/bxe.c b/sys/dev/bxe/bxe.c
index 329801d24eb9..a5c13ea600f3 100644
--- a/sys/dev/bxe/bxe.c
+++ b/sys/dev/bxe/bxe.c
@@ -13332,7 +13332,7 @@ bxe_get_shmem_info(struct bxe_softc *sc)
/* get the port feature config */
sc->port.config =
- SHMEM_RD(sc, dev_info.port_feature_config[port].config),
+ SHMEM_RD(sc, dev_info.port_feature_config[port].config);
/* get the link params */
sc->link_params.speed_cap_mask[0] =