From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
To: Gioh Kim <gi-oh.kim@ionos.com>,
linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Cc: ndesaulniers@google.com, gregkh@linuxfoundation.org
Subject: Re: [PATCH] lib/string: sysfs_streq works case insensitively
Date: Wed, 28 Apr 2021 08:37:51 +0200 [thread overview]
Message-ID: <24530d5a-5611-469e-a4f7-cc704589e9a5@rasmusvillemoes.dk> (raw)
In-Reply-To: <20210412113315.91700-1-gi-oh.kim@ionos.com>
On 12/04/2021 13.33, Gioh Kim wrote:
> As the name shows, it checks the strings inputed from sysfs.
> It should work for both case-sensitive filesystem and
> case-insensitive filesystem. Therefore sysfs_streq should work
> case-insensitively.
What in the whole wide world does case-sensitivity or lack thereof of
filesystems have to do with whether or not the sysfs_streq API should
work case sensitively or not?
The sysfs filesystem itself (1) works like any real UNIX file system
(i.e. case sensitively) and (2) sysfs_streq is not in any way involved
in readdir or lookups or other such filename operations in sysfs.
Very confused,
Rasmus
prev parent reply other threads:[~2021-04-28 6:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-12 11:33 [PATCH] lib/string: sysfs_streq works case insensitively Gioh Kim
2021-04-28 5:41 ` Gioh Kim
[not found] ` <CAHp75Vf2yJ5=zdxRcPKmKGCKeF8As=Nv2S9fm0ciVXL5HGbWDg@mail.gmail.com>
2021-04-28 7:31 ` Gioh Kim
2021-04-28 7:46 ` Andy Shevchenko
2021-04-28 7:47 ` Rasmus Villemoes
2021-04-28 8:31 ` Gioh Kim
2021-04-28 9:13 ` Rasmus Villemoes
2021-04-28 6:37 ` Rasmus Villemoes [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24530d5a-5611-469e-a4f7-cc704589e9a5@rasmusvillemoes.dk \
--to=linux@rasmusvillemoes.dk \
--cc=akpm@linux-foundation.org \
--cc=gi-oh.kim@ionos.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ndesaulniers@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).