[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210518131823.2586-1-jj251510319013@gmail.com>
Date: Tue, 18 May 2021 21:18:23 +0800
From: Wei Ming Chen <jj251510319013@...il.com>
To: linux-kernel@...r.kernel.org
Cc: linux-scsi@...r.kernel.org, linux@...linux.org.uk,
jejb@...ux.ibm.com, martin.petersen@...cle.com,
Wei Ming Chen <jj251510319013@...il.com>
Subject: [PATCH] scsi: fas216: Use fallthrough pseudo-keyword
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@...il.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
Powered by blists - more mailing lists