summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhen Lei <thunder.leizhen@huawei.com>2021-05-28 11:55:55 +0300
committerJakub Kicinski <kuba@kernel.org>2021-05-29 04:12:19 +0300
commit015dbf5662fd689d581c0bc980711b073ca09a1a (patch)
tree6440c3da0577897186da3c2d3c82a0b2e38f2873 /tools/perf/scripts/python
parentffb35c679842b471d8bc42c6986daa3b373f57b2 (diff)
downloadlinux-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')
0 files changed, 0 insertions, 0 deletions