aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2022-08-18 21:00:26 +0000
committerMichael Ellerman <[email protected]>2022-08-26 01:02:20 +0000
commit4c14d7a3fa097c4ccb6323dd8f0f7746bfebb053 (patch)
treeaa0e0f26ae23019b148b6b9828702701d2e05ccf /arch/powerpc/lib/code-patching.c
parentpowerpc: move from strlcpy with unused retval to strscpy (diff)
downloadkernel-4c14d7a3fa097c4ccb6323dd8f0f7746bfebb053.tar.gz
kernel-4c14d7a3fa097c4ccb6323dd8f0f7746bfebb053.zip
macintosh: 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