Re: [RFC] [QUESTION] Stuff to do for string

From: Andy Shevchenko

Date: Wed Apr 22 2026 - 12:15:02 EST


On Wed, Apr 22, 2026 at 03:57:16PM +0100, Josh Law wrote:
> Hello, (this is my first RFC, so maybe cc is bad, but yeah)
>
> What do you guys have planned/would like me to have a look at doing in
> lib/string.c
>
> I am home from school so I am virtually free

Arbitrary things that came to my mind (no particular order)

- Get rid of strlcat()
- Clean up include/linux/string.h
a) drop extern for functions
b) put the headers it includes into an order and follow IWYU
- kill memscan() in favour of memchr() / memchr_inv()

--
With Best Regards,
Andy Shevchenko