aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2022-08-18 20:59:46 +0000
committerMichael Ellerman <[email protected]>2022-08-26 01:02:20 +0000
commit14be375634c3f8ff750bdce0c10036c2fbfcb282 (patch)
tree2cc08566b88ac14c48359e9576274dc07dc20faa /arch/powerpc/lib/code-patching.c
parentpowerpc/fsl_booke: Make calc_cam_sz() static (diff)
downloadkernel-14be375634c3f8ff750bdce0c10036c2fbfcb282.tar.gz
kernel-14be375634c3f8ff750bdce0c10036c2fbfcb282.zip
powerpc: move from strlcpy with unused retval to strscpy
Follow the advice of the below link and prefer 'strscpy' in this subsystem. Conversion is 1:1 because the return value is not used. Generated by a coccinelle script. Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/ Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions