]> git.baikalelectronics.ru Git - kernel.git/commit
net/af_iucv: mark expected switch fall-throughs
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Mon, 29 Jul 2019 14:59:47 +0000 (09:59 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jul 2019 17:26:14 +0000 (10:26 -0700)
commited3b7768f4e4196c6b748ad749b1dbfc76685c63
treed65ca4061903cc083c6fda42612b58a8dfa26ae0
parent6a5c9d311ca8d5e81f01f3611cee2c2e8313f404
net/af_iucv: mark expected switch fall-throughs

Mark switch cases where we are expecting to fall through.

This patch fixes the following warnings:

net/iucv/af_iucv.c: warning: this statement may fall
through [-Wimplicit-fallthrough=]:  => 537:3, 519:6, 2246:6, 510:6

Notice that, in this particular case, the code comment is
modified in accordance with what GCC is expecting to find.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/iucv/af_iucv.c