[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230525114444.GI423913@google.com>
Date: Thu, 25 May 2023 12:44:44 +0100
From: Lee Jones <lee@...nel.org>
To: Azeem Shaikh <azeemshaikh38@...il.com>
Cc: Sakari Ailus <sakari.ailus@...ux.intel.com>,
linux-hardening@...r.kernel.org, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org, Pavel Machek <pavel@....cz>
Subject: Re: [PATCH v2] leds: as3645a: Replace strlcpy with strscpy
On Wed, 24 May 2023, Azeem Shaikh wrote:
> Part of a tree-wide effort to remove deprecated strlcpy()[1] and replace
> it with strscpy()[2]. No return values were used, so direct replacement
> is safe.
>
> [1] https://www.kernel.org/doc/html/latest/process/deprecated.html#strlcpy
> [2] https://github.com/KSPP/linux/issues/89
>
> Signed-off-by: Azeem Shaikh <azeemshaikh38@...il.com>
> ---
> v1: https://lore.kernel.org/all/20230523021150.2406032-1-azeemshaikh38@gmail.com/
>
> Changes in v2:
> - Updated subject and commit log.
>
> drivers/leds/flash/leds-as3645a.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists