usb: gadget: u_audio: Use snprintf() instead of sprintf()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 23 Mar 2024 06:57:05 +0000 (07:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Mar 2024 09:45:52 +0000 (10:45 +0100)
commit54ada48481a134b5953bc37cafd1ad89cd68c133
tree2a707dbc77683eb9c14b7bf068746e7566f70356
parent39c34568d786ae97180faf79ecfd31c3d0671ba6
usb: gadget: u_audio: Use snprintf() instead of sprintf()

In order to be consistent with other s[n]printf() usage in this file,
switch to snprintf() here as well.

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