[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAG_fn=UZwpvANRFqgXX+RA3ZO_KLAcQFs0kjeim0Y75GoAgJ8g@mail.gmail.com>
Date: Wed, 16 Oct 2024 15:34:58 +0200
From: Alexander Potapenko <glider@...gle.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
Cc: Marco Elver <elver@...gle.com>, Dongliang Mu <mudongliangabcd@...il.com>,
Haoyang Liu <tttturtleruss@...t.edu.cn>, Dmitry Vyukov <dvyukov@...gle.com>,
Jonathan Corbet <corbet@....net>, hust-os-kernel-patches@...glegroups.com,
kasan-dev@...glegroups.com, workflows@...r.kernel.org,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] docs/dev-tools: fix a typo
On Wed, Oct 16, 2024 at 3:30 PM Dan Carpenter <dan.carpenter@...aro.org> wrote:
>
> On Tue, Oct 15, 2024 at 04:32:27PM +0200, 'Marco Elver' via HUST OS Kernel Contribution wrote:
> > On Tue, 15 Oct 2024 at 16:11, Dongliang Mu <mudongliangabcd@...il.com> wrote:
> > >
> > > On Tue, Oct 15, 2024 at 10:09 PM Haoyang Liu <tttturtleruss@...t.edu.cn> wrote:
> > > >
> > > > fix a typo in dev-tools/kmsan.rst
> > > >
> > > > Signed-off-by: Haoyang Liu <tttturtleruss@...t.edu.cn>
> > > > ---
> > > > Documentation/dev-tools/kmsan.rst | 2 +-
> > > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/Documentation/dev-tools/kmsan.rst b/Documentation/dev-tools/kmsan.rst
> > > > index 6a48d96c5c85..0dc668b183f6 100644
> > > > --- a/Documentation/dev-tools/kmsan.rst
> > > > +++ b/Documentation/dev-tools/kmsan.rst
> > > > @@ -133,7 +133,7 @@ KMSAN shadow memory
> > > > -------------------
> > > >
> > > > KMSAN associates a metadata byte (also called shadow byte) with every byte of
> > > > -kernel memory. A bit in the shadow byte is set iff the corresponding bit of the
> > > > +kernel memory. A bit in the shadow byte is set if the corresponding bit of the
> > >
> > > This is not a typo. iff is if and only if
> >
> > +1
> >
> > https://en.wikipedia.org/wiki/If_and_only_if
> >
>
> Does "iff" really add anything over regular "if"? I would have thought the
> "only if" could be assumed in this case. Or if it's really necessary then we
> could spell it out.
I think you are actually right, "if" should be just as fine in this case.
> regards,
> dan carpenter
>
--
Alexander Potapenko
Software Engineer
Google Germany GmbH
Erika-Mann-Straße, 33
80636 München
Geschäftsführer: Paul Manicle, Liana Sebastian
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Powered by blists - more mailing lists