Thread (3 messages) 3 messages, 3 authors, 2020-11-03

Re: [PATCH] sfp: Fix error handing in sfp_probe()

From: Andrew Lunn <andrew@lunn.ch>
Date: 2020-10-31 18:56:22
Also in: lkml

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 <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help