Re: [PATCH net-next] xfrm: Remove unnecessary strscpy_pad() size arguments
From: Steffen Klassert
Date: Mon Apr 14 2025 - 06:08:49 EST
On Thu, Mar 20, 2025 at 01:44:51PM +0100, Thorsten Blum wrote:
> If the destination buffer has a fixed length, strscpy_pad()
> automatically determines its size using sizeof() when the argument is
> omitted. This makes the explicit sizeof() calls unnecessary - remove
> them.
>
> No functional changes intended.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
Applied, thanks a lot!