diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2020-11-25 10:33:26 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-11-29 21:19:11 +0100 |
commit | 368444dd7a2c9180bcc0f95c4d5c79a8f56aa209 (patch) | |
tree | 33030757e52d1d86233af07a133238d351f82fe8 /fs/attr.c | |
parent | e71d2b957ee49fe3ed35a384a4e31774de1316c1 (diff) | |
download | linux-368444dd7a2c9180bcc0f95c4d5c79a8f56aa209.tar.gz linux-368444dd7a2c9180bcc0f95c4d5c79a8f56aa209.tar.bz2 linux-368444dd7a2c9180bcc0f95c4d5c79a8f56aa209.zip |
can: pcan_usb_core: fix fall-through warnings for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a warning by
moving the "default" to the end of the "switch" statement and explicitly adding
a break statement instead of letting the code fall through to the next case.
Link: https://github.com/KSPP/linux/issues/115
Reported-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: http://lore.kernel.org/r/aab7cf16bf43cc7c3e9c9930d2dae850c1d07a3c.1605896059.git.gustavoars@kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
[mkl: move default to end]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions