Re: [PATCH RESEND] drm: Use strscpy() instead of strscpy_pad()
From: Thorsten Blum
Date: Thu Sep 25 2025 - 18:35:48 EST
Hi all,
> On 8. Sep 2025, Thorsten Blum wrote:
>
> kzalloc() already zero-initializes the destination buffers, making
> strscpy() sufficient for safely copying the names. The additional
> NUL-padding performed by strscpy_pad() is unnecessary.
>
> If the destination buffer has a fixed length, strscpy() automatically
> determines its size using sizeof() when the argument is omitted. This
> makes the explicit size arguments unnecessary.
>
> No functional changes intended.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
I've been resending this patch since April and I'm wondering what else I
could do to get this reviewed and/or merged?
The patch still applies to both linux-next and master.
Thanks,
Thorsten