linux_dsm_epyc7002/drivers/firmware/google
Wei Yongjun 2a76f89fa5 firmware: google memconsole: Fix return value check in platform_memconsole_init()
In case of error, the function platform_device_register_simple() returns
ERR_PTR() and never returns NULL. The NULL test in the return value
check should be replaced with IS_ERR().

Fixes: d384d6f43d ("firmware: google memconsole: Add coreboot support")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-04-26 22:54:54 +02:00
..
coreboot_table-acpi.c firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
coreboot_table-of.c firmware: google memconsole: Add ARM/ARM64 support 2017-04-08 18:05:36 +02:00
coreboot_table.c firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
coreboot_table.h firmware: google memconsole: Add coreboot support 2017-04-08 18:05:36 +02:00
gsmi.c firmware-gsmi: Delete an unnecessary check before the function call "dma_pool_destroy" 2016-09-09 16:08:45 +01:00
Kconfig firmware: Google VPD sysfs driver 2017-04-18 18:05:23 +02:00
Makefile firmware: Google VPD sysfs driver 2017-04-18 18:05:23 +02:00
memconsole-coreboot.c firmware: google memconsole: Fix return value check in platform_memconsole_init() 2017-04-26 22:54:54 +02:00
memconsole-x86-legacy.c firmware: google memconsole: Move specific EBDA parts 2017-04-08 18:05:36 +02:00
memconsole.c firmware: google memconsole: Move specific EBDA parts 2017-04-08 18:05:36 +02:00
memconsole.h firmware: google memconsole: Move specific EBDA parts 2017-04-08 18:05:36 +02:00
vpd_decode.c firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00
vpd_decode.h firmware: Google VPD: import lib_vpd source files 2017-04-18 18:04:45 +02:00
vpd.c firmware: Google VPD: Fix return value check in vpd_platform_init() 2017-04-26 22:54:54 +02:00