Searched hist:"642 fa28bb5ee2cf72e7d86b2fa9d06f2b04c9fb3" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/misc/pvpanic/ |
H A D | pvpanic-pci.c | diff 642fa28bb5ee2cf72e7d86b2fa9d06f2b04c9fb3 Tue Mar 30 03:36:59 CEST 2021 Qiheng Lin <linqiheng@huawei.com> misc/pvpanic: fix return value check in pvpanic_pci_probe()
In case of error, the function pci_iomap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test.
Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Qiheng Lin <linqiheng@huawei.com> Link: https://lore.kernel.org/r/20210330013659.916-1-linqiheng@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|