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

Martin K. Petersen
2023-12-06T01:58:20Z

Michael,

>> 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@ellerman.id.au> (powerpc)

Applied to 6.8/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering