net: devlink: don't ignore errors during dumpit
Currently, some dumpit function may end-up with error which is not -EMSGSIZE and this error is silently ignored. Use does not have clue that something wrong happened. Instead of silent ignore, propagate the error to user. Suggested-by: NAndrew Lunn <andrew@lunn.ch> Signed-off-by: NJiri Pirko <jiri@mellanox.com> Reviewed-by: NAndrew Lunn <andrew@lunn.ch> Acked-by: NJakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录