public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Use safer strscpy() instead of strcpy()
@ 2026-03-10  9:44 Ai Chao
  2026-03-10  9:44 ` [PATCH 1/6] USB: serial: ti_usb_3410_5052: " Ai Chao
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Ai Chao @ 2026-03-10  9:44 UTC (permalink / raw)
  To: gregkh, b-liu, johan, badhri, heikki.krogerus, valentina.manea.m,
	shuah, i, tiwai, kees, christophe.jaillet, prashanth.k, khtsai,
	dan.carpenter, tglx, mingo
  Cc: linux-usb, linux-kernel, Ai Chao

This patch series introduces wrapper functions strscpy().

Use a safer function strscpy() instead of strcpy() for copying to arrays.

Only idiomatic code replacement, and no functional changes.

Summary:

 - Patch 1 USB: serial: ti_usb_3410_5052: Use safer strscpy() instead of strcpy()
 - Patch 2 usb: musb: Use safer strscpy() instead of strcpy()
 - Patch 3 usb: gadget: functionfs: Use safer strscpy() instead of strcpy()
 - Patch 4 usb: typec: tcpm: Use safer strscpy() instead of strcpy()
 - Patch 5 usb: gadget: udc: Use safer strscpy() instead of strcpy()
 - Patch 6 usbip: vhci_sysfs: Use safer strscpy() instead of strcpy()

 drivers/usb/gadget/function/f_midi2.c  |  6 +++---
 drivers/usb/gadget/function/u_serial.c |  2 +-
 drivers/usb/gadget/udc/snps_udc_core.c |  2 +-
 drivers/usb/musb/musb_core.c           |  2 +-
 drivers/usb/serial/ti_usb_3410_5052.c  | 16 ++++++++--------
 drivers/usb/typec/tcpm/tcpm.c          |  6 +++---
 drivers/usb/usbip/vhci_sysfs.c         |  2 +-
 7 files changed, 18 insertions(+), 18 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <7990xi1aonqb-79968wxve9t0@nsmail8.2--kylin--1>]

end of thread, other threads:[~2026-03-26 18:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10  9:44 [PATCH 0/6] Use safer strscpy() instead of strcpy() Ai Chao
2026-03-10  9:44 ` [PATCH 1/6] USB: serial: ti_usb_3410_5052: " Ai Chao
2026-03-17 14:37   ` Johan Hovold
2026-03-10  9:44 ` [PATCH 2/6] usb: musb: " Ai Chao
2026-03-10  9:44 ` [PATCH 3/6] usb: gadget: functionfs: " Ai Chao
2026-03-10  9:44 ` [PATCH 4/6] usb: typec: tcpm: " Ai Chao
2026-03-10  9:44 ` [PATCH 5/6] usb: gadget: udc: " Ai Chao
2026-03-10  9:44 ` [PATCH 6/6] usbip: vhci_sysfs: " Ai Chao
2026-03-10 22:10   ` Shuah Khan
2026-03-11  7:22     ` Dan Carpenter
2026-03-24 21:34       ` Shuah Khan
2026-03-25 11:09         ` Dan Carpenter
     [not found] <7990xi1aonqb-79968wxve9t0@nsmail8.2--kylin--1>
2026-03-26 18:19 ` Shuah Khan

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