Mercurial > unleashed > wips
changeset 19570:41de492616d0
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>
author | Toomas Soome <tsoome@me.com> |
---|---|
date | Sat, 01 Jul 2017 23:16:43 +0300 |
parents | c3b712717f7c |
children | ab9a79c61768 f0cf832f2995 |
files | usr/src/uts/common/io/bge/bge_chip2.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/bge/bge_chip2.c Sat Jul 01 09:13:45 2017 +0300 +++ b/usr/src/uts/common/io/bge/bge_chip2.c Sat Jul 01 23:16:43 2017 +0300 @@ -455,7 +455,7 @@ * * (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 @@ 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 @@ 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 @@ /* * 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;