diff options
author | 2025-04-21 20:31:08 +0200 | |
---|---|---|
committer | 2025-05-15 09:54:54 +0530 | |
commit | 7e99a4a60d8fc9b24a3f9632011bf7e197f1aff9 (patch) | |
tree | 7e37e73a2ac3a80e588479d863a6481501d1057f /scripts/lib/kdoc/kdoc_output.py | |
parent | powerpc/pseries/iommu: Fix kmemleak in TCE table userspace view (diff) | |
download | linux-rng-7e99a4a60d8fc9b24a3f9632011bf7e197f1aff9.tar.xz linux-rng-7e99a4a60d8fc9b24a3f9632011bf7e197f1aff9.zip |
powerpc: Replace strcpy() with strscpy() in proc_ppc64_init()
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.
Link: https://github.com/KSPP/linux/issues/88
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250421183110.436265-1-thorsten.blum@linux.dev
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions