All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCH v3] Fix a copy & paste error in erst.c.
@ 2012-03-06 16:29 Jiang Liu
  2012-03-06 16:55 ` Bjorn Helgaas
  0 siblings, 1 reply; 3+ messages in thread
From: Jiang Liu @ 2012-03-06 16:29 UTC (permalink / raw)
  To: Len Brown, Huang Ying; +Cc: Jiang Liu, linux-acpi

This patch fixes a copy & paste error in erst.c and it applies
to v3.3-rc6.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Acked-by: Huang Ying <ying.huang@intel.com>
---
 drivers/acpi/apei/erst.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/acpi/apei/erst.c b/drivers/acpi/apei/erst.c
index eb9fab5..e4d9d24 100644
--- a/drivers/acpi/apei/erst.c
+++ b/drivers/acpi/apei/erst.c
@@ -917,7 +917,7 @@ static int erst_check_table(struct acpi_table_erst *erst_tab)
 {
 	if ((erst_tab->header_length !=
 	     (sizeof(struct acpi_table_erst) - sizeof(erst_tab->header)))
-	    && (erst_tab->header_length != sizeof(struct acpi_table_einj)))
+	    && (erst_tab->header_length != sizeof(struct acpi_table_erst)))
 		return -EINVAL;
 	if (erst_tab->header.length < sizeof(struct acpi_table_erst))
 		return -EINVAL;
-- 
1.7.5.4


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

end of thread, other threads:[~2012-03-07 14:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 16:29 [RESEND PATCH v3] Fix a copy & paste error in erst.c Jiang Liu
2012-03-06 16:55 ` Bjorn Helgaas
2012-03-07 14:06   ` Jiang Liu

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.