summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/processor.h
diff options
context:
space:
mode:
authorRussell Currey <ruscur@russell.cc>2022-08-27 16:39:46 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-06 11:03:04 +1000
commit245685495bff35062a394f5cdbd32b237dc596a5 (patch)
tree4f0c2d3375bcdcecc03ad7d3e80fa53cdc6dda33 /arch/powerpc/include/asm/processor.h
parent9b135eef0787813ad073aaeb9ff80ab57bc63e69 (diff)
powerpc/pasemi: Use strscpy instead of strlcpy
find_i2c_driver() contained the last usage of strlcpy() in arch/powerpc. The return value was used to check if strlen(src) >= n, for which strscpy() returns -E2BIG. Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220827063946.9073-1-ruscur@russell.cc
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions