[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200422173532.702e7b23@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 22 Apr 2020 17:35:32 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: <sameehj@...zon.com>
Cc: <davem@...emloft.net>, <netdev@...r.kernel.org>,
Arthur Kiyanovski <akiyano@...zon.com>, <dwmw@...zon.com>,
<zorik@...zon.com>, <matua@...zon.com>, <saeedb@...zon.com>,
<msw@...zon.com>, <aliguori@...zon.com>, <nafea@...zon.com>,
<gtzalik@...zon.com>, <netanel@...zon.com>, <alisaidi@...zon.com>,
<benh@...zon.com>, <ndagan@...zon.com>
Subject: Re: [PATCH V1 net-next 01/13] net: ena: fix error returning in
ena_com_get_hash_function()
On Wed, 22 Apr 2020 08:16:16 +0000 sameehj@...zon.com wrote:
> From: Arthur Kiyanovski <akiyano@...zon.com>
>
> In case the "func" parameter is NULL we now return "-EINVAL".
> This shouldn't happen in general, but when it does happen, this is the
> proper way to handle it.
>
> We also check func for NULL in the beginning of the function, as there
> is no reason to do all the work and realize in the end of the function
> it was useless.
>
> Fixes: 1738cd3ed342 ("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Also, why the fixes tag? Is this a fix for a user-visible problem?
> Signed-off-by: Sameeh Jubran <sameehj@...zon.com>
> Signed-off-by: Arthur Kiyanovski <akiyano@...zon.com>
Powered by blists - more mailing lists