> -----Original Message-----
> From: David Miller <da...@davemloft.net>
> Sent: Tuesday, February 12, 2019 1:25 PM
> To: Parav Pandit <pa...@mellanox.com>
> Cc: Jiri Pirko <j...@mellanox.com>; netdev@vger.kernel.org
> Subject: Re: [PATCH net-next 1/2] devlink: Return right error code in case of
> errors for region read
>
> From: Parav Pandit <pa...@mellanox.com>
> Date: Tue, 12 Feb 2019 01:09:19 -0600
>
> > devlink_nl_cmd_region_read_dumpit() misses to return right error code
> > on most error conditions.
> > Return the right error code on such errors.
> >
> > Fixes: 4e54795a27f5 ("devlink: Add support for region snapshot read
> > command")
> > Signed-off-by: Parav Pandit <pa...@mellanox.com>
> > Acked-by: Jiri Pirko <j...@mellanox.com>
>
> This has conflicts with the locking changes I applied earlier today.
>
> Please respin, thanks.
Ok. sending rebased v2.