diff options
| author | Wei Yongjun <[email protected]> | 2020-05-19 09:19:12 +0000 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2020-05-19 20:42:25 -0300 |
| commit | 6b31afcef51e578e936e66c347ab333c024963da (patch) | |
| tree | 7c1938fe72768437d659634713c3c031cec5396b /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
| parent | e19840867013f0f4081265fdb65b31e80b7bcb5b (diff) | |
RDMA/rtrs: server: Fix some error return code
Fix to return negative error code -ENOMEM from the some error handling
cases instead of 0, as done elsewhere in this function.
Fixes: 9cb837480424 ("RDMA/rtrs: server: main functionality")
Fixes: 91b11610af8d ("RDMA/rtrs: server: sysfs interface functions")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Danil Kipnis <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions