Re: [PATCH] block: move from strlcpy with unused retval to strscpy
From: Jens Axboe <axboe@kernel.dk>
Date: 2022-09-22 01:46:12
From: Jens Axboe <axboe@kernel.dk>
Date: 2022-09-22 01:46:12
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