mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
scsi: NCR5380: Fix fall-through warning for Clang
In preparation to enable -Wimplicit-fallthrough for Clang, fix a fall-through warning by replacing a /* fallthrough */ comment with the new pseudo-keyword macro fallthrough; Link: https://github.com/KSPP/linux/issues/115 Link: https://lore.kernel.org/r/20210604022752.GA168289@embeddedor Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
6f71517296
commit
61f4f11b48
1 changed files with 1 additions and 1 deletions
|
@ -1816,7 +1816,7 @@ static void NCR5380_information_transfer(struct Scsi_Host *instance)
|
||||||
switch (tmp) {
|
switch (tmp) {
|
||||||
case ABORT:
|
case ABORT:
|
||||||
set_host_byte(cmd, DID_ABORT);
|
set_host_byte(cmd, DID_ABORT);
|
||||||
/* fallthrough */
|
fallthrough;
|
||||||
case COMMAND_COMPLETE:
|
case COMMAND_COMPLETE:
|
||||||
/* Accept message by clearing ACK */
|
/* Accept message by clearing ACK */
|
||||||
sink = 1;
|
sink = 1;
|
||||||
|
|
Loading…
Reference in a new issue