Re: [PATCH v4] lib/string: Introduce sysfs_streqcase

From: Greg Kroah-Hartman
Date: Fri Apr 09 2021 - 02:44:44 EST


On Thu, Apr 08, 2021 at 10:05:02PM -0700, Andrew Morton wrote:
> On Thu, 8 Apr 2021 15:06:05 +0200 Gioh Kim <gi-oh.kim@xxxxxxxxx> wrote:
>
> > As the name shows, it checks if strings are equal in case insensitive
> > manner.
>
> Peh. Who would die if we simply made sysfs_streq() case-insensitive?

I doubt anyone, let's do that instead.