]> git.baikalelectronics.ru Git - kernel.git/commit
wimax: usb-fw: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 9 Aug 2018 15:39:44 +0000 (10:39 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 18:29:36 +0000 (11:29 -0700)
commitb705ff97e6f3c17f2a8755c2ed0fe36467de49de
tree0ce92beda0d394d0f08d7660dd03afc72bd851ed
parent779514771da8ceb7d57b1a09e2525d0d392c3194
wimax: usb-fw: mark expected switch fall-through

In preparation to enabling -Wimplicit-fallthrough, mark switch cases
where we are expecting to fall through.

Notice that in this particular case, I placed the "fall through"
annotation at the bottom of the case, which is what GCC is expecting
to find.

Addresses-Coverity-ID: 1369529 ("Missing break in switch")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wimax/i2400m/usb-fw.c