Andy Shevchenko afded6d83a 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>
2021-01-07 20:28:01 +01:00
..
2020-12-15 15:57:25 -08:00
2020-12-17 13:34:25 -08:00
2020-12-07 10:29:57 +01:00
2020-12-17 13:34:25 -08:00
2020-11-04 11:49:10 +10:00
2020-07-23 12:56:49 +02:00
2020-10-28 19:12:03 +01:00
2020-08-20 13:12:59 +02:00
2020-10-28 19:12:03 +01:00