2021-05-19 18:03:55

by Keoseong Park

[permalink] [raw]
Subject: [PATCH] scsi: ufs: Clean up white space

checkpatch reports the followings:

ERROR: space prohibited before that ',' (ctx:WxW)
#945: FILE: drivers/scsi/ufs/ufshcd.h:945:
+int ufshcd_init(struct ufs_hba * , void __iomem * , unsigned int);
^

ERROR: space prohibited before that ',' (ctx:WxW)
#945: FILE: drivers/scsi/ufs/ufshcd.h:945:
+int ufshcd_init(struct ufs_hba * , void __iomem * , unsigned int);
^
remove unnecessary whitespace in ufshcd.h

Signed-off-by: Keoseong Park <[email protected]>
---
drivers/scsi/ufs/ufshcd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h
index b8b4fe2b6bd5..791fb86409c2 100644
--- a/drivers/scsi/ufs/ufshcd.h
+++ b/drivers/scsi/ufs/ufshcd.h
@@ -942,7 +942,7 @@ static inline void ufshcd_rmwl(struct ufs_hba *hba, u32 mask, u32 val, u32 reg)
int ufshcd_alloc_host(struct device *, struct ufs_hba **);
void ufshcd_dealloc_host(struct ufs_hba *);
int ufshcd_hba_enable(struct ufs_hba *hba);
-int ufshcd_init(struct ufs_hba * , void __iomem * , unsigned int);
+int ufshcd_init(struct ufs_hba *, void __iomem *, unsigned int);
int ufshcd_link_recovery(struct ufs_hba *hba);
int ufshcd_make_hba_operational(struct ufs_hba *hba);
void ufshcd_remove(struct ufs_hba *);
--
2.17.1


2021-05-26 04:35:37

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] scsi: ufs: Clean up white space

On Tue, 18 May 2021 21:12:17 +0900, Keoseong Park wrote:

> checkpatch reports the followings:
>
> ERROR: space prohibited before that ',' (ctx:WxW)
> #945: FILE: drivers/scsi/ufs/ufshcd.h:945:
> +int ufshcd_init(struct ufs_hba * , void __iomem * , unsigned int);
> ^
>
> [...]

Applied to 5.14/scsi-queue, thanks!

[1/1] scsi: ufs: Clean up white space
https://git.kernel.org/mkp/scsi/c/ecd7beb37871

--
Martin K. Petersen Oracle Linux Engineering