diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2022-08-18 22:59:46 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-08-26 03:02:20 +0200 |
commit | 14be375634c3f8ff750bdce0c10036c2fbfcb282 (patch) | |
tree | 2cc08566b88ac14c48359e9576274dc07dc20faa /drivers/macintosh | |
parent | powerpc/fsl_booke: Make calc_cam_sz() static (diff) | |
download | linux-14be375634c3f8ff750bdce0c10036c2fbfcb282.tar.xz linux-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 <wsa+renesas@sang-engineering.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/
Link: https://lore.kernel.org/r/20220818205946.6336-1-wsa+renesas@sang-engineering.com
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions