Re: [PATCH net-next] ath5k: use strscpy() to instead of strncpy()

From: Luis Chamberlain
Date: Fri Dec 23 2022 - 10:03:07 EST


On Fri, Dec 23, 2022 at 10:34:45AM +0800, yang.yang29@xxxxxxxxxx wrote:
> From: Xu Panda <xu.panda@xxxxxxxxxx>
>
> The implementation of strscpy() is more robust and safer.
> That's now the recommended way to copy NUL-terminated strings.

According to who? Are you sure you are not just sending stupid commits
to get an increase in your kernel commit count? Because this is an old
driver and who cares?

Luis