[PATCH] powerpc: move from strlcpy with unused retval to strscpy

Michael Ellerman patch-notifications at ellerman.id.au
Wed Aug 31 23:13:56 AEST 2022


On Thu, 18 Aug 2022 22:59:46 +0200, Wolfram Sang wrote:
> 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.
> 
> 

Applied to powerpc/next.

[1/1] powerpc: move from strlcpy with unused retval to strscpy
      https://git.kernel.org/powerpc/c/14be375634c3f8ff750bdce0c10036c2fbfcb282

cheers


More information about the Linuxppc-dev mailing list