lkml.org 
[lkml]   [2020]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -next v2] net: hns3: replace snprintf with scnprintf in hns3_dbg_cmd_read
From
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.

\
 
 \ /
  Last update: 2020-01-21 10:50    [W:0.572 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site