[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201102172310.40b9dc4a@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date: Mon, 2 Nov 2020 17:23:10 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Andrew Lunn <andrew@...n.ch>
Cc: YueHaibing <yuehaibing@...wei.com>, linux@...linux.org.uk,
hkallweit1@...il.com, davem@...emloft.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sfp: Fix error handing in sfp_probe()
On Sat, 31 Oct 2020 19:56:05 +0100 Andrew Lunn wrote:
> On Sat, Oct 31, 2020 at 11:10:53AM +0800, YueHaibing wrote:
> > gpiod_to_irq() never return 0, but returns negative in
> > case of error, check it and set gpio_irq to 0.
> >
> > Fixes: 73970055450e ("sfp: add SFP module support")
> > Signed-off-by: YueHaibing <yuehaibing@...wei.com>
>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
Applied, thanks!
Powered by blists - more mailing lists