summaryrefslogtreecommitdiffstats
path: root/drivers/pci/dmar.c
diff options
context:
space:
mode:
authorYinghai Lu <yhlu.kernel@gmail.com>2008-09-03 16:58:33 -0700
committerIngo Molnar <mingo@elte.hu>2008-10-16 16:53:05 +0200
commit74d04bd7dcb4c6130fd8a314d28bfecc9ae7c360 (patch)
tree90efec3fc887afb79ec86ea7b7a190244579d1b6 /drivers/pci/dmar.c
parentf6dd5c3106fb283e37d915eeb33019ef40510f85 (diff)
downloadop-kernel-dev-74d04bd7dcb4c6130fd8a314d28bfecc9ae7c360.zip
op-kernel-dev-74d04bd7dcb4c6130fd8a314d28bfecc9ae7c360.tar.gz
dmar: initialize the return value in dmar_parse_dev()
initialize the return value in dmar_parse_dev() Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/pci/dmar.c')
-rw-r--r--drivers/pci/dmar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index f2c5eb6..d281a03 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -193,7 +193,7 @@ dmar_parse_dev(struct dmar_drhd_unit *dmaru)
{
struct acpi_dmar_hardware_unit *drhd;
static int include_all;
- int ret;
+ int ret = 0;
drhd = (struct acpi_dmar_hardware_unit *) dmaru->hdr;
OpenPOWER on IntegriCloud