[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174549769785.31282.8000166567328581653.tip-bot2@tip-bot2>
Date: Thu, 24 Apr 2025 12:28:17 -0000
From: "tip-bot2 for Inochi Amaoto" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: kernel test robot <lkp@...el.com>, Inochi Amaoto <inochiama@...il.com>,
Thomas Gleixner <tglx@...utronix.de>, Chen Wang <unicorn_wang@...look.com>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: irq/drivers] irqchip/sg2042-msi: Fix wrong type cast in
sg2044_msi_irq_ack()
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: 76b66e8c9d159eb3d1699e0fa80ceacf9a9ae627
Gitweb: https://git.kernel.org/tip/76b66e8c9d159eb3d1699e0fa80ceacf9a9ae627
Author: Inochi Amaoto <inochiama@...il.com>
AuthorDate: Tue, 22 Apr 2025 08:38:03 +08:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Thu, 24 Apr 2025 14:22:09 +02:00
irqchip/sg2042-msi: Fix wrong type cast in sg2044_msi_irq_ack()
The type cast in sg2044_msi_irq_ack() lost the __iomem attribute, which
makes the pointer type incorrect.
Add it back.
Fixes: e96b93a97c90 ("irqchip/sg2042-msi: Add the Sophgo SG2044 MSI interrupt controller")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Inochi Amaoto <inochiama@...il.com>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Reviewed-by: Chen Wang <unicorn_wang@...look.com>
Link: https://lore.kernel.org/all/20250422003804.214264-1-inochiama@gmail.com
Closes: https://lore.kernel.org/oe-kbuild-all/202504211251.B3aesulq-lkp@intel.com/
---
drivers/irqchip/irq-sg2042-msi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/irqchip/irq-sg2042-msi.c b/drivers/irqchip/irq-sg2042-msi.c
index 8a83c69..a3e2a26 100644
--- a/drivers/irqchip/irq-sg2042-msi.c
+++ b/drivers/irqchip/irq-sg2042-msi.c
@@ -98,7 +98,7 @@ static void sg2044_msi_irq_ack(struct irq_data *d)
{
struct sg204x_msi_chipdata *data = irq_data_get_irq_chip_data(d);
- writel(0, (u32 *)data->reg_clr + d->hwirq);
+ writel(0, (u32 __iomem *)data->reg_clr + d->hwirq);
irq_chip_ack_parent(d);
}
Powered by blists - more mailing lists