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)
commite06abcc68cb555377efd5aa781c014d3d68498b6
tree66b1e9e605ca6d849734683441e704f83e2c9eb9
parentc38ae56ee034623c59e39c0130ca0dec086c1a39
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