From: David Miller <davem@davemloft.net>
To: chenzhou10@huawei.com
Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next v2] net: hns3: replace snprintf with scnprintf in hns3_dbg_cmd_read
Date: Tue, 21 Jan 2020 10:49:07 +0100 (CET) [thread overview]
Message-ID: <20200121.104907.186187461912601930.davem@davemloft.net> (raw)
In-Reply-To: <20200120124943.30274-1-chenzhou10@huawei.com>
From: Chen Zhou <chenzhou10@huawei.com>
Date: Mon, 20 Jan 2020 20:49:43 +0800
> The return value of snprintf may be greater than the size of
> HNS3_DBG_READ_LEN, use scnprintf instead in hns3_dbg_cmd_read.
>
> Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
> ---
>
> changes in v2:
> - fix checkpatch style problem.
Both conversion patches applied, thank you.
prev parent reply other threads:[~2020-01-21 9:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-20 12:49 Chen Zhou
2020-01-21 9:49 ` David Miller [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=20200121.104907.186187461912601930.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=chenzhou10@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=salil.mehta@huawei.com \
--cc=yisen.zhuang@huawei.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
all inboxes | Powered by JetHome®