[PATCH] ALSA: aoa: Remove redundant size arguments from strscpy()
Takashi Iwai
tiwai at suse.de
Fri Sep 12 15:55:20 AEST 2025
On Thu, 11 Sep 2025 23:43:22 +0200,
Thorsten Blum wrote:
>
> The size parameter of strscpy() is optional if the destination buffer
> has a fixed length and strscpy() can automatically determine its size
> using sizeof(). This makes many explicit size arguments redundant.
>
> Remove them to shorten and simplify the code.
>
> No functional changes intended.
>
> Signed-off-by: Thorsten Blum <thorsten.blum at linux.dev>
Thanks, applied now.
Takashi
More information about the Linuxppc-dev
mailing list