Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932588Ab3CGKgz (ORCPT ); Thu, 7 Mar 2013 05:36:55 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:11109 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1756113Ab3CGKgB (ORCPT ); Thu, 7 Mar 2013 05:36:01 -0500 X-IronPort-AV: E=Sophos;i="4.84,801,1355068800"; d="scan'208";a="6831340" From: Tang Chen To: lenb@kernel.org, rjw@sisk.pl, robert.moore@intel.com, lv.zheng@intel.com, ming.m.lin@intel.com, mpm@selenic.com, herbert@gondor.hengli.com.au, rob@landley.net Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, trivial@kernel.org Subject: [RESEND PATCH 2/6] acpi: Add missing parameter comment for acpi_get_table_with_size(). Date: Thu, 7 Mar 2013 18:38:13 +0800 Message-Id: <1362652697-30284-3-git-send-email-tangchen@cn.fujitsu.com> X-Mailer: git-send-email 1.7.10.1 In-Reply-To: <1362652697-30284-1-git-send-email-tangchen@cn.fujitsu.com> References: <1362652697-30284-1-git-send-email-tangchen@cn.fujitsu.com> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/03/07 18:34:45, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/03/07 18:34:51, Serialize complete at 2013/03/07 18:34:51 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1362 Lines: 38 In the comment of acpi_get_table_with_size(), one parameter tbl_size is missing. And the definitions of i and j begin with space, not tab. Signed-off-by: Tang Chen --- drivers/acpi/acpica/tbxface.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/acpica/tbxface.c b/drivers/acpi/acpica/tbxface.c index b35a5e6..93d1432 100644 --- a/drivers/acpi/acpica/tbxface.c +++ b/drivers/acpi/acpica/tbxface.c @@ -304,6 +304,7 @@ ACPI_EXPORT_SYMBOL(acpi_unload_table_id) * PARAMETERS: signature - ACPI signature of needed table * instance - Which instance (for SSDTs) * out_table - Where the pointer to the table is returned + * tbl_size - Size of the table * * RETURN: Status and pointer to table * @@ -315,8 +316,7 @@ acpi_get_table_with_size(char *signature, u32 instance, struct acpi_table_header **out_table, acpi_size *tbl_size) { - u32 i; - u32 j; + u32 i, j; acpi_status status; /* Parameter validation */ -- 1.7.1 -- 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/