Re: [PATCH] scsi: bfa: replace snprintf with sysfs_emit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 27 Jan 2022 08:03:46 +0800, davidcomponentone@xxxxxxxxx wrote:

> From: Yang Guang <yang.guang5@xxxxxxxxxx>
> 
> 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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux