Re: [PATCH] scsi: target: Replace strncpy() with strscpy() in VPD dump functions

From: Martin K. Petersen

Date: Fri Mar 27 2026 - 16:46:27 EST



Kees,

> Replace the deprecated[1] strncpy() with strscpy() in
> transport_dump_vpd_proto_id(), transport_dump_vpd_assoc(),
> transport_dump_vpd_ident_type(), and transport_dump_vpd_ident().

Applied to 7.1/scsi-staging, thanks!

--
Martin K. Petersen