Re: [PATCH] scsi: ufs: convert sysfs sprintf/snprintf family to sysfs_emit

From: Martin K. Petersen
Date: Mon Feb 08 2021 - 22:22:54 EST



Jiapeng,

> Fix the following coccicheck warning:
>
> ./drivers/scsi/ufs/ufshcd.c:1838:8-16: WARNING: use scnprintf or
> sprintf.
>
> ./drivers/scsi/ufs/ufshcd.c:1815:8-16: WARNING: use scnprintf or
> sprintf.
>
> ./drivers/scsi/ufs/ufshcd.c:1525:8-16: WARNING: use scnprintf or
> sprintf.

Does not apply to 5.12/scsi-staging. Please rebase.

--
Martin K. Petersen Oracle Linux Engineering