RE: [PATCH] acpica: modify a commit error in file drivers/acpi/acpica/nsxfeval.c

From: Moore, Robert
Date: Mon Apr 13 2015 - 13:42:53 EST


Yes, this comes up every now and then.

"iff" means "if and only if" by convention.


> -----Original Message-----
> From: Rafael J. Wysocki [mailto:rjw@xxxxxxxxxxxxx]
> Sent: Monday, April 13, 2015 6:38 AM
> To: Zhaogang Gong
> Cc: Moore, Robert; Zheng, Lv; Wysocki, Rafael J; lenb@xxxxxxxxxx; linux-
> acpi@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; yanxiaofeng@xxxxxxxxxx
> Subject: Re: [PATCH] acpica: modify a commit error in file
> drivers/acpi/acpica/nsxfeval.c
>
> On Monday, April 13, 2015 05:05:07 PM Zhaogang Gong wrote:
> > Change "iff" in function acpi_evaluate_object() to "if".
> >
> > Signed-off-by: Zhaogang Gong <gongzhaogang@xxxxxxxxxx>
> > ---
> > drivers/acpi/acpica/nsxfeval.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/acpi/acpica/nsxfeval.c
> > b/drivers/acpi/acpica/nsxfeval.c index b6030a2..9571429 100644
> > --- a/drivers/acpi/acpica/nsxfeval.c
> > +++ b/drivers/acpi/acpica/nsxfeval.c
> > @@ -214,7 +214,7 @@ acpi_evaluate_object(acpi_handle handle,
> > info->prefix_node = NULL;
> > } else if (!handle) {
> > /*
> > - * A handle is optional iff a fully qualified pathname is
> specified.
> > + * A handle is optional if a fully qualified pathname is
> specified.
>
> This is not a mistake.
>
> > * Since we've already handled fully qualified names above,
> this is
> > * an error.
> > */
> >
>
> --
> I speak only for myself.
> Rafael J. Wysocki, Intel Open Source Technology Center.