summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-07-01 23:16:43 +0300
committerDan McDonald <danmcd@joyent.com>2018-05-30 11:09:04 -0400
commitabfaa596b786488ec4aee4fcc241f6021f04ee50 (patch)
treef2383822891c310d5860eae08e075ac6cee2c56e
parent5c16836ed07979c9ee681cb8eff401a0caacbc7e (diff)
downloadillumos-joyent-abfaa596b786488ec4aee4fcc241f6021f04ee50.tar.gz
9218 bge: this statement may fall through
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/common/io/bge/bge_chip2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/uts/common/io/bge/bge_chip2.c b/usr/src/uts/common/io/bge/bge_chip2.c
index a3882a7cff..0ceb070556 100644
--- a/usr/src/uts/common/io/bge/bge_chip2.c
+++ b/usr/src/uts/common/io/bge/bge_chip2.c
@@ -455,7 +455,7 @@ bge_chip_cfg_init(bge_t *bgep, chip_id_t *cidp, boolean_t enable_dma)
*
* (1) acknowledge & disable interrupts
* (2) while (more to do)
- * process packets
+ * process packets
* (3) enable interrupts -- also clears pending
*
* If the chip received more packets and internally generated
@@ -2145,6 +2145,7 @@ bge_ape_lock(bge_t *bgep, int locknum)
case BGE_APE_LOCK_GPIO:
if (bgep->chipid.device == DEVICE_ID_5761)
return (0);
+ /* FALLTHROUGH */
case BGE_APE_LOCK_GRC:
case BGE_APE_LOCK_MEM:
if (!bgep->pci_func)
@@ -2206,6 +2207,7 @@ bge_ape_unlock(bge_t *bgep, int locknum)
case BGE_APE_LOCK_GPIO:
if (bgep->chipid.device == DEVICE_ID_5761)
return;
+ /* FALLTHROUGH */
case BGE_APE_LOCK_GRC:
case BGE_APE_LOCK_MEM:
if (!bgep->pci_func)
@@ -5170,7 +5172,7 @@ bge_intr(caddr_t arg1, caddr_t arg2)
/*
* Drop the mutex while we:
- * Receive any newly-arrived packets
+ * Receive any newly-arrived packets
* Recycle any newly-finished send buffers
*/
bgep->bge_intr_running = B_TRUE;