Messages in this thread Patch in this message | | | Date | Wed, 03 Sep 2008 16:58:33 -0700 | From | Suresh Siddha <> | Subject | [patch 3/5] dmar: initialize the return value in dmar_parse_dev() |
| |
From: Yinghai Lu <yhlu.kernel@gmail.com> 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@gmail.com> Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> ---
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; --
| |