[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160713130459.GF10079@leon.nu>
Date: Wed, 13 Jul 2016 16:04:59 +0300
From: Leon Romanovsky <leonro@...lanox.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
CC: Matan Barak <matanb@...lanox.com>,
Or Gerlitz <ogerlitz@...lanox.com>, <netdev@...r.kernel.org>,
<linux-rdma@...r.kernel.org>, <kernel-janitors@...r.kernel.org>
Subject: Re: [patch v2] net/mlx5: missing error code in
esw_create_offloads_fdb_table()
On Wed, Jul 13, 2016 at 02:48:44PM +0300, Dan Carpenter wrote:
> We accidentally return success when we had intended to return an error
> code.
>
> Fixes: 69697b6e2086 ('net/mlx5: E-Switch, Add support for the sriov offloads mode')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
> ---
> v2: return -ENOTSUPP instead --EINVAL
I'm a little bit confused. Why did you prefer ENOTSUPP over EOPNOTSUPP?
Thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists