aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-12-28 18:43:13 +0000
committerGreg Kroah-Hartman <[email protected]>2021-01-07 19:28:01 +0000
commitafded6d83aa7b35dab675c730528109cc58d6847 (patch)
tree8a512512d430c2855976bc2c2d56600b43f7b81a /drivers/pci/controller/pci-host-common.c
parentMerge tag 'icc-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/dja... (diff)
downloadkernel-afded6d83aa7b35dab675c730528109cc58d6847.tar.gz
kernel-afded6d83aa7b35dab675c730528109cc58d6847.zip
misc: pvpanic: Check devm_ioport_map() for NULL
Inconveniently devm_ioport_map() and devm_ioremap_resource() return errors differently, i.e. former uses simply NULL pointer, while the latter an error pointer. Due to this, we have to check each of them separately. Fixes: f104060813fe ("misc: pvpanic: Combine ACPI and platform drivers") Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions