[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6a10a52-6d0e-5351-cdb5-373286cf7d3f@gmail.com>
Date: Tue, 10 May 2022 11:08:57 +0300
From: Sergei Shtylyov <sergei.shtylyov@...il.com>
To: Haoran Jiang <jianghaoran@...inos.cn>, chenhuacai@...nel.org
Cc: jiaxun.yang@...goat.com, tglx@...utronix.de, maz@...nel.org,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] irqchip/loongson-liointc: 4 cores correspond to different
interrupt status registers
Hello!
On 5/10/22 8:53 AM, Haoran Jiang wrote:
> According to the loongson cpu manual,different cpu cores
Please add space after comma.
> correspond to different interrupt status registers
>
> Signed-off-by: Haoran Jiang <jianghaoran@...inos.cn>
> ---
> drivers/irqchip/irq-loongson-liointc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/irqchip/irq-loongson-liointc.c b/drivers/irqchip/irq-loongson-liointc.c
> index 649c58391618..f4e015b50af0 100644
> --- a/drivers/irqchip/irq-loongson-liointc.c
> +++ b/drivers/irqchip/irq-loongson-liointc.c
> @@ -195,7 +195,7 @@ static int __init liointc_of_init(struct device_node *node,
> }
>
> for (i = 0; i < LIOINTC_NUM_CORES; i++)
> - priv->core_isr[i] = base + LIOINTC_REG_INTC_STATUS;
> + priv->core_isr[i] = base + LIOINTC_REG_INTC_STATUS + i*8;
Please add spaces around *.
[...]
MBR, Sergey
Powered by blists - more mailing lists