]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: atmel: Replace deprecated strcpy() with strscpy()
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 22 May 2025 18:01:09 +0000 (20:01 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 May 2025 18:35:56 +0000 (20:35 +0200)
commitb80a61173d08e10b502578cbcb7a55febeff983b
tree4b06598335fc488616c222a776421e43725f6437
parentd18bbb7b8a7b21238dd05f7ddb7d90e2a50171bf
ALSA: atmel: Replace deprecated strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead. Use strscpy() to copy the
long name because there's no string to format with sprintf().

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/20250522180111.12144-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/atmel/ac97c.c