diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-05-28 15:03:35 -0500 |
---|---|---|
committer | Denis Efremov <efremov@linux.com> | 2021-06-15 09:18:55 +0300 |
commit | 2c9bdf6e4771a5966a4f0d6bea45a1c7f38312d7 (patch) | |
tree | 24c5b5870d59b29aad654e7f3c4815f01bb056a6 /include/linux/compiler_attributes.h | |
parent | 30ab5db7ee787c88236376ce6c88b53d613fcae2 (diff) |
floppy: Fix fall-through warning for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning
by explicitly adding a break statement instead of letting the code fall
through to the next case.
Link: https://github.com/KSPP/linux/issues/115
Link: https://lore.kernel.org/linux-hardening/47bcd36a-6524-348b-e802-0691d1b3c429@kernel.dk/
Suggested-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Denis Efremov <efremov@linux.com>
Diffstat (limited to 'include/linux/compiler_attributes.h')
0 files changed, 0 insertions, 0 deletions