lkml.org 
[lkml]   [2021]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4] lib/string: Introduce sysfs_streqcase
On Thu, Apr 08, 2021 at 11:51:32PM -0700, Andrew Morton wrote:
> 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...
>

That's not a regression, that is a "newer kernels have newer features"
issue :)

\
 
 \ /
  Last update: 2021-04-09 09:00    [W:0.030 / U:1.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site