aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorZhen Lei <[email protected]>2021-05-28 16:55:55 +0800
committerJakub Kicinski <[email protected]>2021-05-28 18:12:19 -0700
commit015dbf5662fd689d581c0bc980711b073ca09a1a (patch)
tree6440c3da0577897186da3c2d3c82a0b2e38f2873 /tools/perf/scripts/python/event_analyzing_sample.py
parentffb35c679842b471d8bc42c6986daa3b373f57b2 (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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions