From: Randy Dunlap <rdunlap@infradead.org>
To: Wilken Gottwalt <wilken.gottwalt@posteo.net>,
linux-kernel@vger.kernel.org
Cc: Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] lib: kstrtox: fix typo in comment
Date: Tue, 28 Nov 2023 08:26:03 -0800 [thread overview]
Message-ID: <d9ac4b6c-e473-4c00-b016-a9cebdb59325@infradead.org> (raw)
In-Reply-To: <ZWWkeVTvDBQDA_SF@monster.localdomain>
On 11/28/23 00:27, Wilken Gottwalt wrote:
> Delete one of the double f's in "iff".
>
> Signed-off-by: Wilken Gottwalt <wilken.gottwalt@posteo.net>
Nope, see:
https://en.wikipedia.org/wiki/If_and_only_if
> ---
> lib/kstrtox.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/kstrtox.c b/lib/kstrtox.c
> index d586e6af5e5a..b0a9fdce15b3 100644
> --- a/lib/kstrtox.c
> +++ b/lib/kstrtox.c
> @@ -340,7 +340,7 @@ EXPORT_SYMBOL(kstrtos8);
> * @s: input string
> * @res: result
> *
> - * This routine returns 0 iff the first character is one of 'YyTt1NnFf0', or
> + * This routine returns 0 if the first character is one of 'YyTt1NnFf0', or
> * [oO][NnFf] for "on" and "off". Otherwise it will return -EINVAL. Value
> * pointed to by res is updated upon finding a match.
> */
--
~Randy
next prev parent reply other threads:[~2023-11-28 16:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-28 8:27 Wilken Gottwalt
2023-11-28 16:26 ` Randy Dunlap [this message]
2023-11-29 4:48 ` Wilken Gottwalt
2023-11-29 5:40 ` Randy Dunlap
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=d9ac4b6c-e473-4c00-b016-a9cebdb59325@infradead.org \
--to=rdunlap@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=wilken.gottwalt@posteo.net \
/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
all inboxes | Powered by JetHome®