Re: [PATCH net-next v1 1/2] string: Make memscan() to take const

From: Andy Shevchenko
Date: Tue Feb 21 2023 - 04:37:30 EST


On Mon, Feb 20, 2023 at 04:26:53PM -0800, Jakub Kicinski wrote:
> On Thu, 16 Feb 2023 13:42:33 +0200 Andy Shevchenko wrote:
> > Make memscan() to take const so it will be easier replace
> > some memchr() cases with it.
>
> Let's do this after the merge window.

Sure, it needs to be revised anyway. I just noticed that one corner case might
not work properly.

--
With Best Regards,
Andy Shevchenko