]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.arch/x2APIC_PATCH_03_3f1fdb3673bb5638fa94186dc391cbc4879590bc
Fix oinkmaster patch.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.arch / x2APIC_PATCH_03_3f1fdb3673bb5638fa94186dc391cbc4879590bc
CommitLineData
2cb7cef9
BS
1From: Yinghai Lu <yhlu.kernel@gmail.com>
2Subject: dmar: initialize the return value in dmar_parse_dev()
3References: fate #303948 and fate #303984
4Patch-Mainline: queued for .28
5Commit-ID: 3f1fdb3673bb5638fa94186dc391cbc4879590bc
6
7Signed-off-by: Thomas Renninger <trenn@suse.de>
8
9initialize the return value in dmar_parse_dev()
10
11Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
12Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
13Signed-off-by: Ingo Molnar <mingo@elte.hu>
14
15---
16 drivers/pci/dmar.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19Index: linux-2.6.26/drivers/pci/dmar.c
20===================================================================
21--- linux-2.6.26.orig/drivers/pci/dmar.c
22+++ linux-2.6.26/drivers/pci/dmar.c
23@@ -193,7 +193,7 @@ dmar_parse_dev(struct dmar_drhd_unit *dm
24 {
25 struct acpi_dmar_hardware_unit *drhd;
26 static int include_all;
27- int ret;
28+ int ret = 0;
29
30 drhd = (struct acpi_dmar_hardware_unit *) dmaru->hdr;
31