* [PATCH] scsi: fas216: Use fallthrough pseudo-keyword
@ 2021-05-18 13:18 Wei Ming Chen
2021-05-26 4:07 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Wei Ming Chen @ 2021-05-18 13:18 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-scsi, linux, jejb, martin.petersen, Wei Ming Chen
Replace /* FALLTHROUGH */ comment with pseudo-keyword macro fallthrough[1]
[1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Signed-off-by: Wei Ming Chen <jj251510319013@gmail.com>
---
drivers/scsi/arm/fas216.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/arm/fas216.c b/drivers/scsi/arm/fas216.c
index 2e687ce60753..9402cdce7cc5 100644
--- a/drivers/scsi/arm/fas216.c
+++ b/drivers/scsi/arm/fas216.c
@@ -1479,7 +1479,7 @@ static void fas216_busservice_intr(FAS216_Info *info, unsigned int stat, unsigne
if (msgqueue_msglength(&info->scsi.msgs) > 1)
fas216_cmd(info, CMD_SETATN);
- /*FALLTHROUGH*/
+ fallthrough;
/*
* Any -> Message Out
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scsi: fas216: Use fallthrough pseudo-keyword
2021-05-18 13:18 [PATCH] scsi: fas216: Use fallthrough pseudo-keyword Wei Ming Chen
@ 2021-05-26 4:07 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2021-05-26 4:07 UTC (permalink / raw)
To: Wei Ming Chen, linux-kernel; +Cc: Martin K . Petersen, jejb, linux-scsi, linux
On Tue, 18 May 2021 21:18:23 +0800, Wei Ming Chen wrote:
> Replace /* FALLTHROUGH */ comment with pseudo-keyword macro fallthrough[1]
>
> [1] https://www.kernel.org/doc/html/latest/process/deprecated.html?highlight=fallthrough#implicit-switch-case-fall-through
Applied to 5.14/scsi-queue, thanks!
[1/1] scsi: fas216: Use fallthrough pseudo-keyword
https://git.kernel.org/mkp/scsi/c/86cfe4ad248d
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-05-26 4:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 13:18 [PATCH] scsi: fas216: Use fallthrough pseudo-keyword Wei Ming Chen
2021-05-26 4:07 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.