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

From: Rodolfo Giometti

Date: Thu Sep 24 2026 - 09:04:53 EST


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@xxxxxxxxxxxx>