diff options
author | Yinghai Lu <yhlu.kernel@gmail.com> | 2008-09-03 16:58:33 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-16 16:53:05 +0200 |
commit | 74d04bd7dcb4c6130fd8a314d28bfecc9ae7c360 (patch) | |
tree | 90efec3fc887afb79ec86ea7b7a190244579d1b6 /drivers/pci/dmar.c | |
parent | f6dd5c3106fb283e37d915eeb33019ef40510f85 (diff) | |
download | blackbird-op-linux-74d04bd7dcb4c6130fd8a314d28bfecc9ae7c360.tar.gz blackbird-op-linux-74d04bd7dcb4c6130fd8a314d28bfecc9ae7c360.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c index f2c5eb6e78f7..d281a03695f7 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; |