Re: [PATCH net-next v2 2/7] tools: ynl: copy netlink error to NlError

Petr Machata
2024-04-04T10:39:29Z

Jakub Kicinski <kuba@kernel.org> writes:

> Typing e.nl_msg.error when processing exception is a bit tedious
> and counter-intuitive. Set a local .error member to the positive
> value of the netlink level error.
>
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Reviewed-by: Petr Machata <petrm@nvidia.com>