Messages in this thread | | | Date | Tue, 21 Jan 2020 10:49:07 +0100 (CET) | Subject | Re: [PATCH -next v2] net: hns3: replace snprintf with scnprintf in hns3_dbg_cmd_read | From | David Miller <> |
| |
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.
| |