diff options
author | Rui Wang <rui.y.wang@intel.com> | 2016-08-17 10:00:35 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-08-18 11:45:18 +0200 |
commit | 6ab7eba5db93c11d61f6f7fbe21edbc875b26c1a (patch) | |
tree | b31b20be3e536e2ea4a5b229a7cc354a0557504a /drivers/bcma/driver_gmac_cmn.c | |
parent | x86/ioapic: Support hot-removal of IOAPICs present during boot (diff) | |
download | linux-6ab7eba5db93c11d61f6f7fbe21edbc875b26c1a.tar.xz linux-6ab7eba5db93c11d61f6f7fbe21edbc875b26c1a.zip |
x86/ioapic: Fix setup_res() failing to get resource
acpi_dev_filter_resource_type() returns 0 on success, and 1 on failure.
A return value of zero means there's a matching resource, so we should
continue within setup_res() to get the resource.
Signed-off-by: Rui Wang <rui.y.wang@intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: bhelgaas@google.com
Cc: helgaas@kernel.org
Cc: linux-acpi@vger.kernel.org
Cc: linux-pci@vger.kernel.org
Cc: rjw@rjwysocki.net
Cc: tony.luck@intel.com
Link: http://lkml.kernel.org/r/1471420837-31003-4-git-send-email-rui.y.wang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/bcma/driver_gmac_cmn.c')
0 files changed, 0 insertions, 0 deletions