On Fri, Aug 09, 2019 at 01:13:19PM +0300, Dan Carpenter wrote: > 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@xxxxxxxxxx> > --- > drivers/infiniband/core/nldev.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>