aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorGal Pressman <[email protected]>2018-08-09 22:00:47 +0300
committerJason Gunthorpe <[email protected]>2018-08-15 15:08:35 -0600
commita1ceeca679dccc492235f0f629d9e9f7b3d51ca8 (patch)
tree2bbf6771dd1b945148ae11e910a189c41e87f3d7 /tools/perf/util/trace-event-scripting.c
parentdd81b2c8a3339c813568d07091fcd0d97dd0cf41 (diff)
RDMA/hns: Fix usage of bitmap allocation functions return values
hns bitmap allocation functions return 0 on success and -1 on failure. Callers of these functions wrongly used their return value as an errno, fix that by making a proper conversion. Fixes: a598c6f4c5a8 ("IB/hns: Simplify function of pd alloc and qp alloc") Signed-off-by: Gal Pressman <[email protected]> Acked-by: Lijun Ou <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions