[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164429583888.16454.10783127045958324875.b4-ty@oracle.com>
Date: Mon, 7 Feb 2022 23:52:15 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: anil.gurumurthy@...gic.com, davidcomponentone@...il.com
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
jejb@...ux.ibm.com, Zeal Robot <zealci@....com.cn>,
Yang Guang <yang.guang5@....com.cn>,
linux-scsi@...r.kernel.org, sudarsana.kalluru@...gic.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: bfa: replace snprintf with sysfs_emit
On Thu, 27 Jan 2022 08:03:46 +0800, davidcomponentone@...il.com wrote:
> From: Yang Guang <yang.guang5@....com.cn>
>
> coccinelle report:
> ./drivers/scsi/bfa/bfad_attr.c:908:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:860:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:888:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:853:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:808:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:728:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:822:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:927:9-17:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:900:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:874:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:714:8-16:
> WARNING: use scnprintf or sprintf
> ./drivers/scsi/bfa/bfad_attr.c:839:8-16:
> WARNING: use scnprintf or sprintf
>
> [...]
Applied to 5.18/scsi-queue, thanks!
[1/1] scsi: bfa: replace snprintf with sysfs_emit
https://git.kernel.org/mkp/scsi/c/2245ea91fd3a
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists