[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200304120100.369c6de7@kicinski-fedora-PC1C0HJN>
Date: Wed, 4 Mar 2020 12:01:00 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Taehee Yoo <ap420073@...il.com>
Cc: davem@...emloft.net, subashab@...eaurora.org,
stranche@...eaurora.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next 2/3] net: rmnet: print error message when
command fails
On Wed, 4 Mar 2020 07:51:02 +0000 Taehee Yoo wrote:
> @@ -263,12 +262,16 @@ static int rmnet_rtnl_validate(struct nlattr *tb[], struct nlattr *data[],
> {
> u16 mux_id;
>
> - if (!data || !data[IFLA_RMNET_MUX_ID])
> + if (!data || !data[IFLA_RMNET_MUX_ID]) {
> + NL_SET_ERR_MSG_MOD(extack, "MUX ID not specifies");
> return -EINVAL;
> + }
nit: typo in specified ?
Powered by blists - more mailing lists