[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240124103438.GX254773@kernel.org>
Date: Wed, 24 Jan 2024 10:34:38 +0000
From: Simon Horman <horms@...nel.org>
To: Jiawen Wu <jiawenwu@...stnetic.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, linux@...linux.org.uk, andrew@...n.ch,
netdev@...r.kernel.org, mengyuanlou@...-swift.com
Subject: Re: [PATCH net-next v3 2/2] net: txgbe: use irq_domain for interrupt
controller
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?
> + irq_set_noprobe(irq);
> +
> + return 0;
> +}
--
pw-bot: changes-requested
Powered by blists - more mailing lists