Re: [PATCH v1 1/1] ACPI: processor: idle: Replace strlcat() with better alternative
From: Josh Law
Date: Mon Mar 16 2026 - 14:52:19 EST
On 16 March 2026 18:47:45 GMT, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>On Mon, Mar 16, 2026 at 06:43:58PM +0000, Josh Law wrote:
>> On 16 March 2026 17:01:58 GMT, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
>> >strlcpy() and strlcat() are confusing APIs and the former one already gone
>> >from the kernel. In preparation to kill strlcat() replace it with the better
>> >alternative.
>>
>> Is this patch in relation to my string.c patch?
>
>Yes.
>
>> You would have to do this for about 120~ files.
>
>Not me, just showing you what to do.
>
>Btw, what kind of assistance do you use for the patches?
>
>
None
I use grep to find all the files calling the functions (took a while!)
And if I did those patches, I can't guarantee all of them will be ACKed.
V/R
Josh Law