summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/Makefile
diff options
context:
space:
mode:
authorAili Yao <yaoaili@kingsoft.com>2020-11-10 00:33:34 -0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-11-16 19:27:37 +0100
commit4fba15fbb8106e8db17f486d653484e64969eb87 (patch)
treeaa55e8520a2e7a53de447d3e407219bac7f16e28 /drivers/isdn/Makefile
parent09162bc32c880a791c6c0668ce0745cf7958f576 (diff)
downloadlinux-4fba15fbb8106e8db17f486d653484e64969eb87.tar.bz2
ACPI, APEI, Fix error return value in apei_map_generic_address()
From commit 6915564dc5a8 ("ACPI: OSL: Change the type of acpi_os_map_generic_address() return value"), acpi_os_map_generic_address() will return logical address or NULL for error, but for ACPI_ADR_SPACE_SYSTEM_IO case, it should be also return 0 as it's a normal case, but now it will return -ENXIO. So check it out for such case to avoid einj module initialization fail. Fixes: 6915564dc5a8 ("ACPI: OSL: Change the type of acpi_os_map_generic_address() return value") Cc: <stable@vger.kernel.org> Reviewed-by: James Morse <james.morse@arm.com> Tested-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Aili Yao <yaoaili@kingsoft.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/isdn/Makefile')
0 files changed, 0 insertions, 0 deletions