]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: mixer_oss: Remove deprecated strcpy() function calls
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 23 Jun 2025 11:38:54 +0000 (13:38 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Jun 2025 15:10:32 +0000 (17:10 +0200)
commitd5363522042bca867f45174b4d5a8b5a39eae989
treeed4525d29066f5594d4b1612064b58489c3fbb9c
parent87aafc8580acf87fcaf1a7e30ed858d8c8d37d81
ALSA: mixer_oss: Remove deprecated strcpy() function calls

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@linux.dev>
Link: https://patch.msgid.link/20250623113855.37031-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/mixer_oss.c