mbox series

[0/3] usb: gadget: u_audio:

Message ID cover.1711176700.git.christophe.jaillet@wanadoo.fr (mailing list archive)
Headers show
Series usb: gadget: u_audio: | expand

Message

Christophe JAILLET March 23, 2024, 6:57 a.m. UTC
The first patch is a fix that has no practital consequences in the real
world. So I consider it more as a clean-up than as a fix.

The 2 other patches are just clean-ups to be more consistent with
string related API usages within this file.

All 3 patches are compile tested only.

Christophe JAILLET (3):
  usb: gadget: u_audio: Fix the size of a buffer in a strscpy() call
  usb: gadget: u_audio: Use the 2-argument version of strscpy()
  usb: gadget: u_audio: Use snprintf() instead of sprintf()

 drivers/usb/gadget/function/u_audio.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)