[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <84d36568-266a-15e9-1597-790a18389b51@gmail.com>
Date: Fri, 29 Apr 2022 01:07:36 +0200
From: Niels Dossche <dossche.niels@...il.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: netdev@...r.kernel.org, Heiner Kallweit <hkallweit1@...il.com>,
Russell King <linux@...linux.org.uk>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, noltari@...il.com
Subject: Re: [PATCH] net: mdio: Fix ENOMEM return value in BCM6368 mux bus
controller
On 29/04/2022 00:56, Andrew Lunn wrote:
> On Thu, Apr 28, 2022 at 11:19:32PM +0200, Niels Dossche wrote:
>> Error values inside the probe function must be < 0. The ENOMEM return
>> value has the wrong sign: it is positive instead of negative.
>> Add a minus sign.
>>
>> Fixes: e239756717b5 ("net: mdio: Add BCM6368 MDIO mux bus controller")
>> Signed-off-by: Niels Dossche <dossche.niels@...il.com>
>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
>
> Hi Niels
>
> If you find any more issues like this in the network stack and its
> drivers, please take a read of
>
> https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
Hi Andrew
Thanks for the review.
My apologies, I will make sure to correctly tag the tree in the subject in the future.
Kind regards
Niels
>
> Andrew
Powered by blists - more mailing lists