Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754300AbbDMNNe (ORCPT ); Mon, 13 Apr 2015 09:13:34 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:50412 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754099AbbDMNN3 (ORCPT ); Mon, 13 Apr 2015 09:13:29 -0400 From: "Rafael J. Wysocki" To: Zhaogang Gong Cc: robert.moore@intel.com, lv.zheng@intel.com, rafael.j.wysocki@intel.com, 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 Date: Mon, 13 Apr 2015 15:37:59 +0200 Message-ID: <1536129.vQOiq1xQa9@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.19.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <1428915907-14302-1-git-send-email-gongzhaogang@inspur.com> References: <1428915907-14302-1-git-send-email-gongzhaogang@inspur.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1200 Lines: 34 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 > --- > 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/