usb: gadget: u_audio: Use the 2-argument version of strscpy()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 23 Mar 2024 06:57:04 +0000 (07:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Mar 2024 09:45:52 +0000 (10:45 +0100)
commit39c34568d786ae97180faf79ecfd31c3d0671ba6
tree0493c0389741ddbfebb157d688f3ee32e27cc19e
parent16fac242177c5eb374bb2caacc28793732857369
usb: gadget: u_audio: Use the 2-argument version of strscpy()

In order to be consistent with other strscpy() usage in this file and less
verbose, use the new 2-argument version of strscpy() which computes
auto-magically the size of the destination.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/e7fd0ec5a8b37799271c6d74c325cfb980d44181.1711176701.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_audio.c