mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] usb: gadget: u_audio:
@ 2024-03-23  6:57 Christophe JAILLET
  2024-03-23  6:57 ` [PATCH 1/3] usb: gadget: u_audio: Fix the size of a buffer in a strscpy() call Christophe JAILLET
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christophe JAILLET @ 2024-03-23  6:57 UTC (permalink / raw)
  To: gregkh, jbrunet, ruslan.bilovol
  Cc: linux-usb, linux-kernel, kernel-janitors, Christophe JAILLET

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(-)

-- 
2.44.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-03-23  6:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-23  6:57 [PATCH 0/3] usb: gadget: u_audio: Christophe JAILLET
2024-03-23  6:57 ` [PATCH 1/3] usb: gadget: u_audio: Fix the size of a buffer in a strscpy() call Christophe JAILLET
2024-03-23  6:57 ` [PATCH 2/3] usb: gadget: u_audio: Use the 2-argument version of strscpy() Christophe JAILLET
2024-03-23  6:57 ` [PATCH 3/3] usb: gadget: u_audio: Use snprintf() instead of sprintf() Christophe JAILLET

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®