[PATCH] powerpc: Replace strcpy() with strscpy() in proc_ppc64_init()
Madhavan Srinivasan
maddy at linux.ibm.com
Sun May 18 13:45:02 AEST 2025
On Mon, 21 Apr 2025 20:31:08 +0200, Thorsten Blum wrote:
> strcpy() is deprecated; use strscpy() instead.
>
> Don't cast the destination buffer from 'u8[]' to 'char *' to satisfy the
> __must_be_array() requirement of strscpy().
>
> No functional changes intended.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Replace strcpy() with strscpy() in proc_ppc64_init()
https://git.kernel.org/powerpc/c/7e99a4a60d8fc9b24a3f9632011bf7e197f1aff9
Thanks
More information about the Linuxppc-dev
mailing list