]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: ctxfi: Replace deprecated strcpy() with strscpy()
authorBrahmajit Das <listout@listout.xyz>
Fri, 6 Jun 2025 20:40:00 +0000 (02:10 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Jun 2025 07:53:30 +0000 (09:53 +0200)
commitf00de8e82cab24ef2e2cae0b297b4dc46c3e37ca
treed9c00ebc3fd94a92cd9fbddc92b52689bbfdb293
parentc987a390f1b3b8bdac11031d7004e3410fe259bd
ALSA: ctxfi: 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: Brahmajit Das <listout@listout.xyz>
Link: https://patch.msgid.link/20250606204000.8156-1-listout@listout.xyz
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ctxfi/xfi.c