]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
dmar: initialize the return value in dmar_parse_dev()
authorYinghai Lu <yhlu.kernel@gmail.com>
Wed, 3 Sep 2008 23:58:33 +0000 (16:58 -0700)
committerIngo Molnar <mingo@elte.hu>
Thu, 16 Oct 2008 14:53:05 +0000 (16:53 +0200)
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>
drivers/pci/dmar.c

index f2c5eb6e78f7c5dd58526f9ef3ef3c74fd5737ae..d281a03695f75a39f27e2f90cd68527262ceba9a 100644 (file)
@@ -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;