diff options
| author | Zhen Lei <[email protected]> | 2021-05-28 16:55:55 +0800 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-05-28 18:12:19 -0700 |
| commit | 015dbf5662fd689d581c0bc980711b073ca09a1a (patch) | |
| tree | 6440c3da0577897186da3c2d3c82a0b2e38f2873 /tools/perf/scripts/python/intel-pt-events.py | |
| parent | ffb35c679842b471d8bc42c6986daa3b373f57b2 (diff) | |
ehea: fix error return code in ehea_restart_qps()
Fix to return -EFAULT from the error handling case instead of 0, as done
elsewhere in this function.
By the way, when get_zeroed_page() fails, directly return -ENOMEM to
simplify code.
Fixes: 2c69448bbced ("ehea: DLPAR memory add fix")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zhen Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions