Subject: Re: [PATCH] net: mdio: Fix ENOMEM return value in BCM6368 mux bus controller

From: Andrew Lunn <[email-masked]>
Date: Fri, 29 Apr 2022 00:56:10 +0200

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 <[email-masked]>

Reviewed-by: Andrew Lunn <[email-masked]>

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