From: Kees Cook <keescook@chromium.org>
To: Wan Jiabing <wanjiabing@vivo.com>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
Hemant Kumar <quic_hemantk@quicinc.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jeffrey Hugo <quic_jhugo@quicinc.com>,
Bhaumik Bhatt <bbhatt@codeaurora.org>,
Paul Davey <paul.davey@alliedtelesis.co.nz>,
mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] bus: mhi: replace snprintf with sysfs_emit
Date: Tue, 26 Apr 2022 14:26:48 -0700 [thread overview]
Message-ID: <202204261426.FC012A74C7@keescook> (raw)
In-Reply-To: <20220426125902.681258-1-wanjiabing@vivo.com>
On Tue, Apr 26, 2022 at 08:58:59PM +0800, Wan Jiabing wrote:
> Fix following coccicheck warning:
> ./drivers/bus/mhi/host/init.c:89:8-16: WARNING: use scnprintf or sprintf
>
> Use sysfs_emit and sysfs_emit_at instead of snprintf.
>
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
--
Kees Cook
next prev parent reply other threads:[~2022-04-26 21:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-26 12:58 [PATCH] bus: mhi: replace snprintf with sysfs_emit Wan Jiabing
2022-04-26 21:26 ` Kees Cook [this message]
2022-04-27 10:22 ` Manivannan Sadhasivam
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=202204261426.FC012A74C7@keescook \
--to=keescook@chromium.org \
--cc=bbhatt@codeaurora.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mani@kernel.org \
--cc=mhi@lists.linux.dev \
--cc=paul.davey@alliedtelesis.co.nz \
--cc=quic_hemantk@quicinc.com \
--cc=quic_jhugo@quicinc.com \
--cc=wanjiabing@vivo.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox