2024-02-27 02:19:47

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH v2] scsi: lpfc: replace deprecated strncpy with strscpy


Justin,

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

Applied to 6.9/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering