diff options
author | Dan Carpenter <[email protected]> | 2019-08-09 13:13:19 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2019-08-12 11:05:05 -0400 |
commit | 932727c55653c1d7838d0ecd0cdce4393be156e0 (patch) | |
tree | 8c084ca80138a4a859dcd92146753ff5ae3fbd13 /lib/test_overflow.c | |
parent | 17c19287ecf54fb55f155902dcd39c62a9547c4e (diff) |
RDMA/core: Fix error code in stat_get_doit_qp()
We need to set the error codes on these paths. Currently the only
possible error code is -EMSGSIZE so that's what the patch uses.
Fixes: 83c2c1fcbd08 ("RDMA/nldev: Allow get counter mode through RDMA netlink")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Link: https://lore.kernel.org/r/20190809101311.GA17867@mwanda
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions