Dan Carpenter 932727c556 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 <dan.carpenter@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Link: https://lore.kernel.org/r/20190809101311.GA17867@mwanda
Signed-off-by: Doug Ledford <dledford@redhat.com>
2019-08-12 11:05:05 -04:00
..
2018-12-12 07:40:16 -07:00
2019-05-03 10:56:56 -03:00
2019-06-28 21:18:23 -03:00
2018-12-12 07:40:16 -07:00
2019-04-25 12:27:11 -03:00
2019-06-28 21:18:23 -03:00
2019-05-09 09:02:46 -07:00
2018-12-12 07:40:16 -07:00
2019-06-28 21:18:23 -03:00
2019-06-28 21:18:23 -03:00
2019-04-25 12:27:11 -03:00