From: Tang Chen <tangchen@cn.fujitsu.com>
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, trival@kernel.org
Subject: [PATCH 2/6] In acpi_get_table_with_size()
Date: Tue, 5 Mar 2013 16:23:24 +0800 [thread overview]
Message-ID: <1362471808-9437-3-git-send-email-tangchen@cn.fujitsu.com> (raw)
In-Reply-To: <1362471808-9437-1-git-send-email-tangchen@cn.fujitsu.com>
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 <tangchen@cn.fujitsu.com>
---
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
next prev parent reply other threads:[~2013-03-05 8:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-05 8:23 [PATCH 0/6] Fix some coding style and comment problems Tang Chen
2013-03-05 8:23 ` [PATCH 1/6] In acpi_memory_device_notify() Tang Chen
2013-03-05 8:23 ` Tang Chen [this message]
2013-03-05 8:23 ` [PATCH 3/6] In acpi_tb_table_override() Tang Chen
2013-03-05 8:23 ` [PATCH 4/6] In acpi_tb_install_table() Tang Chen
2013-03-05 8:23 ` [PATCH 5/6] In acpi_initialize_tables() Tang Chen
2013-03-05 8:23 ` [PATCH 6/6] In Documentation/hw_random.txt Tang Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1362471808-9437-3-git-send-email-tangchen@cn.fujitsu.com \
--to=tangchen@cn.fujitsu.com \
--cc=herbert@gondor.hengli.com.au \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lv.zheng@intel.com \
--cc=ming.m.lin@intel.com \
--cc=mpm@selenic.com \
--cc=rjw@sisk.pl \
--cc=rob@landley.net \
--cc=robert.moore@intel.com \
--cc=trival@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®