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

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


On Thu, 18 Aug 2022 23:00:26 +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] macintosh: move from strlcpy with unused retval to strscpy
      https://git.kernel.org/powerpc/c/4c14d7a3fa097c4ccb6323dd8f0f7746bfebb053

cheers


More information about the Linuxppc-dev mailing list