All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: anil.gurumurthy@qlogic.com, davidcomponentone@gmail.com
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	jejb@linux.ibm.com, Zeal Robot <zealci@zte.com.cn>,
	Yang Guang <yang.guang5@zte.com.cn>,
	linux-scsi@vger.kernel.org, sudarsana.kalluru@qlogic.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: bfa: replace snprintf with sysfs_emit
Date: Mon,  7 Feb 2022 23:52:15 -0500	[thread overview]
Message-ID: <164429583888.16454.10783127045958324875.b4-ty@oracle.com> (raw)
In-Reply-To: <def83ff75faec64ba592b867a8499b1367bae303.1643181468.git.yang.guang5@zte.com.cn>

On Thu, 27 Jan 2022 08:03:46 +0800, davidcomponentone@gmail.com wrote:

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

      reply	other threads:[~2022-02-08  5:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-27  0:03 [PATCH] scsi: bfa: replace snprintf with sysfs_emit davidcomponentone
2022-02-08  4:52 ` Martin K. Petersen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=164429583888.16454.10783127045958324875.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=anil.gurumurthy@qlogic.com \
    --cc=davidcomponentone@gmail.com \
    --cc=jejb@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=sudarsana.kalluru@qlogic.com \
    --cc=yang.guang5@zte.com.cn \
    --cc=zealci@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.