summaryrefslogtreecommitdiff
path: root/drivers/scsi/wd33c93.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-12-28 21:43:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-07 22:28:01 +0300
commitafded6d83aa7b35dab675c730528109cc58d6847 (patch)
tree8a512512d430c2855976bc2c2d56600b43f7b81a /drivers/scsi/wd33c93.h
parentb8b54ad96e433e3895103a982dff017c5ca3fd16 (diff)
downloadlinux-afded6d83aa7b35dab675c730528109cc58d6847.tar.xz
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 <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20201228184313.57610-1-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/wd33c93.h')
0 files changed, 0 insertions, 0 deletions