[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y5INMK4YaZAT2syD@corigine.com>
Date: Thu, 8 Dec 2022 17:13:36 +0100
From: Simon Horman <simon.horman@...igine.com>
To: yang.yang29@....com.cn
Cc: christopher.lee@...i.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, xu.panda@....com.cn
Subject: Re: [PATCH linux-next] net: ethernet: use strscpy() to instead of strncpy()
On Thu, Dec 08, 2022 at 07:52:03PM +0800, yang.yang29@....com.cn wrote:
> From: Xu Panda <xu.panda@....com.cn>
>
> The implementation of strscpy() is more robust and safer.
> That's now the recommended way to copy NUL terminated strings.
>
> Signed-off-by: Xu Panda <xu.panda@....com.cn>
> Signed-off-by: Yang Yang <yang.yang29@....com>
This change looks good to me, but I think the subject should be:
[PATCH net-next] myri10ge: use strscpy() to instead of strncpy()
That not withstanding,
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists