Commit e06abcc6 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Jens Axboe
Browse files

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: default avatarGustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent c38ae56e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2613,6 +2613,7 @@ int ata_eh_reset(struct ata_link *link, int classify,
			switch (tmp) {
			case -EAGAIN:
				rc = -EAGAIN;
				break;
			case 0:
				break;
			default: