ALSA: amd7930: replace strcpy() with strscpy()
authorSiddarth Gundu <siddarthsgml@gmail.com>
Tue, 20 May 2025 11:30:12 +0000 (17:00 +0530)
committerTakashi Iwai <tiwai@suse.de>
Tue, 20 May 2025 14:07:18 +0000 (16:07 +0200)
commit2bae25a802dcc2d69ea4ca87fe0dac5e64257a2f
tree7ff72c25843a8463c0217104c6d9950b2b91212c
parent0718a78f6a9f04b88d0dc9616cc216b31c5f3cf1
ALSA: amd7930: replace strcpy() with strscpy()

strcpy() is deprecated; use strscpy() instead.

Both the destination and source buffer are of fixed length
so strscpy with 2-arguments is used.

No functional changes intended.

Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Siddarth Gundu <siddarthsgml@gmail.com>
Link: https://patch.msgid.link/20250520113012.70270-1-siddarthsgml@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sparc/amd7930.c