Re: [PATCH] Input: mouse: vsxxxaa: Replace strlcat() with strscpy()

From: Shihuang Liu

Date: Wed Nov 04 2026 - 11:43:20 EST


On Tue, Nov 03, 2026 at 10:23:18PM -0800, Mariia Nikitash wrote:
> In preparation for removing the deprecated strlcat() API[1], use
> strscpy() to initialize the mouse device name.
>
> The destination is zero-initialized, and the constant string fits
> within the buffer. Since the return value is unused, this preserves
> the existing behavior.
>
> Link: https://github.com/KSPP/linux/issues/370 [1]
> Signed-off-by: Mariia Nikitash <nikitash.mariiaw@xxxxxxxxx>

Reviewed-by: Shihuang Liu <shlomojune6@xxxxxxxxx>