[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <167279233345.147541.3032747140502271485.robh@kernel.org>
Date: Tue, 3 Jan 2023 18:32:16 -0600
From: Rob Herring <robh@...nel.org>
To: yang.yang29@....com.cn
Cc: devicetree@...r.kernel.org, robh+dt@...nel.org,
linux-kernel@...r.kernel.org, frowand.list@...il.com,
xu.panda@....com.cn
Subject: Re: [PATCH linux-next] of: base: use strscpy() to instead of
strncpy()
On Fri, 23 Dec 2022 10:39:12 +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>
> ---
> drivers/of/base.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Applied, thanks!
Powered by blists - more mailing lists