Messages in this thread | | | Date | Thu, 8 Apr 2021 23:51:32 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH v4] lib/string: Introduce sysfs_streqcase |
| |
On Fri, 9 Apr 2021 08:44:39 +0200 Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote:
> 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@ionos.com> 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.
There's a risk that people will write scripts/config/etc on a 5.13+ kernel and then find that they malfunction on earlier kernels...
| |