[PATCH 4/4] watchdog: aspeed: Propagate errors from optional IRQ lookup
Guenter Roeck
linux at roeck-us.net
Mon Aug 10 07:24:32 PDT 2026
On Mon, Aug 10, 2026 at 04:45:07PM +0700, Bui Duc Phuc wrote:
> Hi Guenter,
>
>
> Thank you for your feedback.
>
> > >>> + return irq;
> > >>> if (irq > 0) {
> > >>
> > >> This if () is no longer needed.
> > >>
> > >
> > > If we remove the if (irq > 0) check, irq can be -ENXIO and would be
> > > passed to devm_request_irq().
> > > I see that the irq argument of devm_request_irq() is an unsigned int.
> > > Would it be safe to pass -ENXIO to it in this case?
> > >
> > No, sorry, I was wrong.
> >
>
> So this means there are no issues with this patch.
> Patches 2 and 3 have already been applied by you.
> I will temporarily resend only patch 1:
> " watchdog: qcom: Propagate errors from optional IRQ lookup "
>
Correct. Note that gmail may swallow this reply, claiming that it is spam.
Guenter
More information about the linux-arm-kernel
mailing list