summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2019-02-14 23:13:31 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-02-16 01:54:46 +0300
commit9a7786784dcbec2f6ad52fd98a8d076f808e59f2 (patch)
treedef215304a1e823823d4b2e449b8d28b79e7a1e6 /tools/perf/scripts/python
parent89944450547334aa6655e0cd4aec8df1897a205a (diff)
downloadlinux-9a7786784dcbec2f6ad52fd98a8d076f808e59f2.tar.xz
RDMA/uverbs: Fix an error flow in ib_uverbs_poll_cq
The new output_written block was wrongly placed before the ret=0, causing the error code to be lost. uverbs_output_written is not expected to fail, and even if it does fail it has no significant impact on the userspace flow. Reported-by: Bart Van Assche <bvanassche@acm.org> Fixes: d6f4a21f309d ("RDMA/uverbs: Mark ioctl responses with UVERBS_ATTR_F_VALID_OUTPUT") Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions