[Drbd-dev] [PATCH] block: move from strlcpy with unused retval to strscpy

Jens Axboe axboe at kernel.dk
Thu Sep 22 03:45:25 CEST 2022


On Thu, 18 Aug 2022 22:59:57 +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, thanks!

[1/1] block: move from strlcpy with unused retval to strscpy
      commit: e55e1b4831563e5766f88fa821f5bfac0d6c298c

Best regards,
-- 
Jens Axboe




More information about the drbd-dev mailing list