Re: [PATCH v6 1/4] pps: clients: gpio: propagate probe error codes

From
Rodolfo Giometti <giometti@enneenne.com>
Date
2026-09-24 12:59:00
Also in
linux-gpio, lkml
Reply to
Eliav Farber, 2026-09-23
On Wed, Sep 23, 2026 at 06:22:40PM +0000, Eliav Farber wrote:
On the two probe error paths that map and request the interrupt, probe
overwrote the error from gpiod_to_irq() and request_threaded_irq() with a
hardcoded -EINVAL, hiding meaningful codes such as -EBUSY, -ENOMEM or
-EPROBE_DEFER from the caller. The request_threaded_irq() failure message
also logged the IRQ number but not the errno.
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Thread (69 messages) 69 messages, 6 authors, last reply 15d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help