diff options
author | Qiheng Lin <[email protected]> | 2021-03-30 09:36:59 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-02 16:16:46 +0200 |
commit | 642fa28bb5ee2cf72e7d86b2fa9d06f2b04c9fb3 (patch) | |
tree | 027371c502d48cd7dc13beac1b44623f24a13780 /tools/perf/scripts/python/stackcollapse.py | |
parent | d72260cc7879c72c186900e7c153007a6137ed8e (diff) |
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 <[email protected]>
Signed-off-by: Qiheng Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions