Re: [PATCH v2] ALSA: mixer_oss: Remove deprecated strcpy() function calls

From: Takashi Iwai
Date: Mon Jun 23 2025 - 11:13:09 EST


On Mon, 23 Jun 2025 13:38:54 +0200,
Thorsten Blum wrote:
>
> Remove the deprecated strcpy() function calls and assign the strings
> directly to a 'char *' instead.
>
> Use 'if/else if' instead of two separate if statements.
>
> No functional changes intended.
>
> Link: https://github.com/KSPP/linux/issues/88
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> Changes in v2:
> - Assign the strings directly as suggested by Al and Takashi
> - Use if/else if instead of if/if
> - Link to v1: https://lore.kernel.org/lkml/20250618223631.1244-2-thorsten.blum@xxxxxxxxx/

Applied now. Thanks.


Takashi