aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorWolfram Sang <[email protected]>2022-08-18 22:59:56 +0200
committerGreg Kroah-Hartman <[email protected]>2022-09-01 18:15:32 +0200
commit07b7b883be5ba0b4bd9ebf8d72c236ef36ae2676 (patch)
tree9aedd6ed893eb9a7a28c97c8ad889277a7b03d66 /lib/test_fortify/write_overflow-strncpy-src.c
parente2691f6b44ed2135bfd005ad5fbabac4f433a7a1 (diff)
driver_core: 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. Link: https://lore.kernel.org/r/CAHk-=wgfRnXz0W3D37d01q3JFkr_i_uTL=V6A6G1oUZcprmknw@mail.gmail.com/ Signed-off-by: Wolfram Sang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions