]> asedeno.scripts.mit.edu Git - linux.git/commit
wimax: usb-tx: mark expected switch fall-through
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Thu, 9 Aug 2018 15:47:20 +0000 (10:47 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Aug 2018 18:29:36 +0000 (11:29 -0700)
commit8a8a894ebbc23f52669b80c2ca5bf62d75267324
tree73780f3dbf3ca768f99a51053ee0caea375d061e
parent849063074a84fe388a15f5655bc26fdf3290a2ac
wimax: usb-tx: 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: 115075 ("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-tx.c