(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

ALSA: usb-audio: Use strscpy() in append_ctl_name()

To prepare for removing strlcat() from the kernel [1], use strscpy() instead with the current name length as the append offset. Change append_ctl_name() to return void since no caller uses its return value. Use append_ctl_name() to append " Jack" in build_connector_control(). No functional change. Link: https://github.com/KSPP/linux/issues/370 [1] Signed-off-by: Thorsten Blum <blum@kernel.org> Link: https://patch.msgid.link/20261021105826.147060-3-blum@kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>


Author Thorsten Blum Committer Takashi Iwai Date Commit Parent 8045043c
+5 -3
1 changed file
+5 -3
1 changed file