Re: [PATCH] irqdomain: correct comment for __irq_domain_add
From: Marc Zyngier
Date: Wed Sep 21 2016 - 04:16:11 EST
On 21/09/16 06:43, Peng Fan wrote:
> Correct comments from "of_node" to "fwnode" according
> to function prototype.
>
> Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
> Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> ---
> kernel/irq/irqdomain.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
> index 4752b43..8be2f3c 100644
> --- a/kernel/irq/irqdomain.c
> +++ b/kernel/irq/irqdomain.c
> @@ -80,7 +80,7 @@ EXPORT_SYMBOL_GPL(irq_domain_free_fwnode);
>
> /**
> * __irq_domain_add() - Allocate a new irq_domain data structure
> - * @of_node: optional device-tree node of the interrupt controller
> + * @fwnode: optional FW node of the interrupt controller
> * @size: Size of linear map; 0 for radix mapping only
> * @hwirq_max: Maximum number of interrupts supported by controller
> * @direct_max: Maximum value of direct maps; Use ~0 for no limit; 0 for no
>
We already have a fix for this in -next (see 545d5d6).
Thanks,
M.
--
Jazz is not dead. It just smells funny...