All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] acpica: modify a commit error in file drivers/acpi/acpica/nsxfeval.c
@ 2015-04-13  9:05 Zhaogang Gong
  2015-04-13 13:37 ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Zhaogang Gong @ 2015-04-13  9:05 UTC (permalink / raw)
  To: robert.moore, lv.zheng, rafael.j.wysocki, lenb, linux-acpi, linux-kernel
  Cc: yanxiaofeng, Zhaogang Gong

Change "iff" in function acpi_evaluate_object() to "if".

Signed-off-by: Zhaogang Gong <gongzhaogang@inspur.com>
---
 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.
 		 * Since we've already handled fully qualified names above, this is
 		 * an error.
 		 */
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] acpica: modify a commit error in file drivers/acpi/acpica/nsxfeval.c
  2015-04-13  9:05 [PATCH] acpica: modify a commit error in file drivers/acpi/acpica/nsxfeval.c Zhaogang Gong
@ 2015-04-13 13:37 ` Rafael J. Wysocki
  2015-04-13 17:42     ` Moore, Robert
  0 siblings, 1 reply; 4+ messages in thread
From: Rafael J. Wysocki @ 2015-04-13 13:37 UTC (permalink / raw)
  To: Zhaogang Gong
  Cc: robert.moore, lv.zheng, rafael.j.wysocki, lenb, linux-acpi,
	linux-kernel, yanxiaofeng

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@inspur.com>
> ---
>  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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] acpica: modify a commit error in file drivers/acpi/acpica/nsxfeval.c
  2015-04-13 13:37 ` Rafael J. Wysocki
@ 2015-04-13 17:42     ` Moore, Robert
  0 siblings, 0 replies; 4+ messages in thread
From: Moore, Robert @ 2015-04-13 17:42 UTC (permalink / raw)
  To: Rafael J. Wysocki, Zhaogang Gong
  Cc: Zheng, Lv, Wysocki, Rafael J, lenb, linux-acpi, linux-kernel,
	yanxiaofeng

Yes, this comes up every now and then.

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


> -----Original Message-----
> From: Rafael J. Wysocki [mailto:rjw@rjwysocki.net]
> Sent: Monday, April 13, 2015 6:38 AM
> To: Zhaogang Gong
> Cc: Moore, Robert; Zheng, Lv; Wysocki, Rafael J; lenb@kernel.org; linux-
> acpi@vger.kernel.org; linux-kernel@vger.kernel.org; yanxiaofeng@inspur.com
> 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@inspur.com>
> > ---
> >  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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] acpica: modify a commit error in file drivers/acpi/acpica/nsxfeval.c
@ 2015-04-13 17:42     ` Moore, Robert
  0 siblings, 0 replies; 4+ messages in thread
From: Moore, Robert @ 2015-04-13 17:42 UTC (permalink / raw)
  To: Rafael J. Wysocki, Zhaogang Gong
  Cc: Zheng, Lv, Wysocki, Rafael J, lenb, linux-acpi, linux-kernel,
	yanxiaofeng

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1651 bytes --]

Yes, this comes up every now and then.

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


> -----Original Message-----
> From: Rafael J. Wysocki [mailto:rjw@rjwysocki.net]
> Sent: Monday, April 13, 2015 6:38 AM
> To: Zhaogang Gong
> Cc: Moore, Robert; Zheng, Lv; Wysocki, Rafael J; lenb@kernel.org; linux-
> acpi@vger.kernel.org; linux-kernel@vger.kernel.org; yanxiaofeng@inspur.com
> 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@inspur.com>
> > ---
> >  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.
ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-04-13 17:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-13  9:05 [PATCH] acpica: modify a commit error in file drivers/acpi/acpica/nsxfeval.c Zhaogang Gong
2015-04-13 13:37 ` Rafael J. Wysocki
2015-04-13 17:42   ` Moore, Robert
2015-04-13 17:42     ` Moore, Robert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.