summaryrefslogtreecommitdiff
path: root/arch/microblaze/boot
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2022-01-06 15:54:48 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-01-06 18:53:31 +0100
commit31834aaa4e2a26d8d1f6b36703bb35cfdb8fc98c (patch)
tree905e0d224a695b0a1fa50be074a8b57f76e72c03 /arch/microblaze/boot
parent53e8558837be58c1d44d50ad87247a8c56c95c13 (diff)
ACPI: pfr_update: Fix return value check in pfru_write()
In case of error, memremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: 0db89fa243e5 ("ACPI: Introduce Platform Firmware Runtime Update device driver") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Acked-by: Chen Yu <yu.c.chen@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/microblaze/boot')
0 files changed, 0 insertions, 0 deletions