Subject: RE: [PATCH net-next v3 2/2] net: txgbe: use irq_domain for interrupt controller

From: Jiawen Wu <[email-masked]>
Date: Thu, 25 Jan 2024 10:21:40 +0800

On Wednesday, January 24, 2024 6:35 PM, Simon Horman wrote:
> On Wed, Jan 24, 2024 at 10:45:25AM +0800, Jiawen Wu wrote:
> 
> ...
> 
> > +static int txgbe_misc_irq_domain_map(struct irq_domain *d,
> > +				     unsigned int irq,
> > +				     irq_hw_number_t hwirq)
> > +{
> > +	struct txgbe *txgbe = d->host_data;
> > +
> > +	irq_set_chip_data(irq, txgbe);
> > +	irq_set_chip(irq, &txgbe->misc.chip);
> > +	irq_set_nested_thread(irq, TRUE);
> 
> Hi Jiawen Wu,
> 
> 'TRUE' seems undefined, causing a build failure.
> Should this be 'true' instead?

Oops. I built it with 'true' but sent the patch with 'TRUE'. ☹

> 
> > +	irq_set_noprobe(irq);
> > +
> > +	return 0;
> > +}
> 
> --
> pw-bot: changes-requested
>