[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87cy7wrz93.wl-tiwai@suse.de>
Date: Fri, 12 Sep 2025 07:55:20 +0200
From: Takashi Iwai <tiwai@...e.de>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Johannes Berg <johannes@...solutions.net>, Jaroslav Kysela
<perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>, Uwe Kleine-König <u.kleine-koenig@...libre.com>, Takashi Iwai
<tiwai@...e.de>, linuxppc-dev@...ts.ozlabs.org,
linux-sound@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: aoa: Remove redundant size arguments from strscpy()
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@...ux.dev>
Thanks, applied now.
Takashi
Powered by blists - more mailing lists