Commit 74d04bd7 authored by Yinghai Lu's avatar Yinghai Lu Committed by Ingo Molnar

dmar: initialize the return value in dmar_parse_dev()

initialize the return value in dmar_parse_dev()
Signed-off-by: default avatarYinghai Lu <yhlu.kernel@gmail.com>
Signed-off-by: default avatarSuresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent f6dd5c31
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment