[PATCH] scsi: ibmvscsi: replace deprecated strncpy with strscpy

Martin K. Petersen martin.petersen at oracle.com
Wed Dec 6 12:58:00 AEDT 2023


>> strncpy() is deprecated for use on NUL-terminated destination strings
>> [1] and as such we should prefer more robust and less ambiguous string
>> interfaces.

> I gave it a quick boot, no issues.
> Tested-by: Michael Ellerman <mpe at ellerman.id.au> (powerpc)

Applied to 6.8/scsi-staging, thanks!

Martin K. Petersen	Oracle Linux Engineering

More information about the Linuxppc-dev mailing list