]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: portman2x4: Use safer strscpy() instead of strcpy()
authorTakashi Iwai <tiwai@suse.de>
Thu, 10 Jul 2025 10:05:50 +0000 (12:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Jul 2025 07:51:09 +0000 (09:51 +0200)
commit7ba740ecf54cf1990e37607545d7e96673166f1e
treea4e643ec71e48fd806a2b77d63a5673a1893602f
parent6d352251e905c13f4363ca7780a94ee703077900
ALSA: portman2x4: Use safer strscpy() instead of strcpy()

Use a safer function strscpy() instead of strcpy() for copying to
arrays.

Only idiomatic code replacement, and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250710100727.22653-9-tiwai@suse.de
sound/drivers/portman2x4.c