From: Yinghai Lu Date: Wed, 3 Sep 2008 23:58:33 +0000 (-0700) Subject: dmar: initialize the return value in dmar_parse_dev() X-Git-Tag: v2.6.28-rc1~80^2~66 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=74d04bd7dcb4c6130fd8a314d28bfecc9ae7c360;p=linux-2.6-omap-h63xx.git dmar: initialize the return value in dmar_parse_dev() initialize the return value in dmar_parse_dev() Signed-off-by: Yinghai Lu Signed-off-by: Suresh Siddha Signed-off-by: Ingo Molnar --- diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index f2c5eb6e78f..d281a03695f 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;