[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YmsbipglEOK/ODW7@lunn.ch>
Date: Fri, 29 Apr 2022 00:56:10 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Niels Dossche <dossche.niels@...il.com>
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 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
Andrew
Powered by blists - more mailing lists