]> git.baikalelectronics.ru Git - kernel.git/commit
libata: Fix fall-through warnings for Clang
authorGustavo A. R. Silva <gustavo@embeddedor.com>
Tue, 20 Apr 2021 20:11:29 +0000 (15:11 -0500)
committerJens Axboe <axboe@kernel.dk>
Tue, 20 Apr 2021 20:23:17 +0000 (14:23 -0600)
commit10e197097873ebb2730cd60a35c25be87b8218b2
tree66b1e9e605ca6d849734683441e704f83e2c9eb9
parent9c39f5d795fc0ee6b2d567675769b2967ea83219
libata: Fix fall-through warnings 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
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/libata-eh.c