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

From: Martin K. Petersen
Date: Tue Dec 05 2023 - 20:58:26 EST



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@xxxxxxxxxxxxxx> (powerpc)

Applied to 6.8/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering