Re: [PATCH v1 1/1] ACPI: processor: idle: Replace strlcat() with better alternative

From: Andy Shevchenko

Date: Mon Mar 16 2026 - 15:43:40 EST


On Mon, Mar 16, 2026 at 06:49:23PM +0000, Josh Law wrote:
> 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

Hmm... Many patches that are generated require quite a lot of time investment
and understanding the code. It's unbelievable that a person can do that without
an assistance.

> I use grep to find all the files calling the functions (took a while!)

No, that's not what I was asking about.

> And if I did those patches, I can't guarantee all of them will be ACKed.

Interesting way of saying the obvious. And if you didn't?..

--
With Best Regards,
Andy Shevchenko