summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-scan-pci.c
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2019-01-25 14:25:24 -0600
committerGustavo A. R. Silva <gustavo@embeddedor.com>2019-01-29 17:00:24 -0600
commitb055f7725a8a2613bb99796bb0452eb3db528046 (patch)
treea866e68dd4f26b0ef976a50b8fe38618e8a0ade4 /drivers/ide/ide-scan-pci.c
parent71fcecc5a3c9993dbaba676bf774808c7c4ecae0 (diff)
downloadlinux-next-b055f7725a8a2613bb99796bb0452eb3db528046.tar.gz
lib/cmdline.c: mark expected switch fall-throughs
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. This patch fixes the following warnings: lib/cmdline.c:137:7: warning: this statement may fall through [-Wimplicit-fallthrough=] lib/cmdline.c:140:7: warning: this statement may fall through [-Wimplicit-fallthrough=] lib/cmdline.c:143:7: warning: this statement may fall through [-Wimplicit-fallthrough=] lib/cmdline.c:146:7: warning: this statement may fall through [-Wimplicit-fallthrough=] lib/cmdline.c:149:7: warning: this statement may fall through [-Wimplicit-fallthrough=] Warning level 3 was used: -Wimplicit-fallthrough=3 This patch is part of the ongoing efforts to enabling -Wimplicit-fallthrough. Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Diffstat (limited to 'drivers/ide/ide-scan-pci.c')
0 files changed, 0 insertions, 0 deletions