[patch 3/5] dmar: initialize the return value in dmar_parse_dev()

From: Suresh Siddha
Date: Wed Sep 03 2008 - 20:09:40 EST


From: Yinghai Lu <yhlu.kernel@xxxxxxxxx>
Subject: dmar: initialize the return value in dmar_parse_dev()

initialize the return value in dmar_parse_dev()

Signed-off-by: Yinghai Lu <yhlu.kernel@xxxxxxxxx>
Signed-off-by: Suresh Siddha <suresh.b.siddha@xxxxxxxxx>
---

Index: tip/drivers/pci/dmar.c
===================================================================
--- tip.orig/drivers/pci/dmar.c 2008-09-03 11:48:21.000000000 -0700
+++ tip/drivers/pci/dmar.c 2008-09-03 11:49:34.000000000 -0700
@@ -193,7 +193,7 @@
{
struct acpi_dmar_hardware_unit *drhd;
static int include_all;
- int ret;
+ int ret = 0;

drhd = (struct acpi_dmar_hardware_unit *) dmaru->hdr;


--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/