2022-04-26 15:14:47

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] scsi: ufs: Remove duplicate include in ufshcd

Fix following checkincludes warning:
drivers/scsi/ufs/ufshcd.c: linux/nls.h is included more than once.

The include is in line 14. Remove the duplicated here.

Signed-off-by: Wan Jiabing <[email protected]>
---
drivers/scsi/ufs/ufshcd.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 1b87f26b5193..73b3dfffabaa 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -20,7 +20,6 @@
#include <linux/delay.h>
#include <linux/interrupt.h>
#include <linux/module.h>
-#include <linux/nls.h>
#include <linux/regulator/consumer.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_dbg.h>
--
2.35.3


2022-04-27 10:32:16

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: ufs: Remove duplicate include in ufshcd


Wan,

> Fix following checkincludes warning:
> drivers/scsi/ufs/ufshcd.c: linux/nls.h is included more than once.
>
> The include is in line 14. Remove the duplicated here.

Applied to 5.19/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering

2022-04-27 11:04:59

by Avri Altman

[permalink] [raw]
Subject: RE: [PATCH] scsi: ufs: Remove duplicate include in ufshcd


> Fix following checkincludes warning:
> drivers/scsi/ufs/ufshcd.c: linux/nls.h is included more than once.
>
> The include is in line 14. Remove the duplicated here.
>
> Signed-off-by: Wan Jiabing <[email protected]>
Reviewed-by: Avri Altman <[email protected]>

2022-05-05 01:22:05

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: ufs: Remove duplicate include in ufshcd

On Tue, 26 Apr 2022 18:45:07 +0800, Wan Jiabing wrote:

> Fix following checkincludes warning:
> drivers/scsi/ufs/ufshcd.c: linux/nls.h is included more than once.
>
> The include is in line 14. Remove the duplicated here.
>
>

Applied to 5.19/scsi-queue, thanks!

[1/1] scsi: ufs: Remove duplicate include in ufshcd
https://git.kernel.org/mkp/scsi/c/8ad8edd2fbae

--
Martin K. Petersen Oracle Linux Engineering