On Mon, 13 Oct 2025 15:57:02 +0200, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() instead. Use the return value of
> strscpy() instead of calling strlen() again, and ignore any potential
> string truncation since both strings are much shorter than the buffer
> size SPLPAR_MAXLENGTH.
>
> Change both if conditions to silence the following checkpatch warnings:
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/pseries/lparcfg: Replace deprecated strcpy in
parse_system_parameter_string
https://git.kernel.org/powerpc/c/c8f80f95da32618d49c2a068ee561b85655b761d
cheers