diff options
| author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-05-28 11:55:55 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2021-05-29 04:12:19 +0300 |
| commit | 015dbf5662fd689d581c0bc980711b073ca09a1a (patch) | |
| tree | 6440c3da0577897186da3c2d3c82a0b2e38f2873 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ffb35c679842b471d8bc42c6986daa3b373f57b2 (diff) | |
| download | linux-015dbf5662fd689d581c0bc980711b073ca09a1a.tar.xz | |
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 <hulkci@huawei.com>
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/r/20210528085555.9390-1-thunder.leizhen@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
