From: "tip-bot2 for Inochi Amaoto" <tip-bot2@linutronix.de>
To: linux-tip-commits@vger.kernel.org
Cc: kernel test robot <lkp@intel.com>,
Inochi Amaoto <inochiama@gmail.com>,
Thomas Gleixner <tglx@linutronix.de>,
Chen Wang <unicorn_wang@outlook.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [tip: irq/drivers] irqchip/sg2042-msi: Fix wrong type cast in sg2044_msi_irq_ack()
Date: Thu, 24 Apr 2025 12:28:17 -0000 [thread overview]
Message-ID: <174549769785.31282.8000166567328581653.tip-bot2@tip-bot2> (raw)
In-Reply-To: <20250422003804.214264-1-inochiama@gmail.com>
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@gmail.com>
AuthorDate: Tue, 22 Apr 2025 08:38:03 +08:00
Committer: Thomas Gleixner <tglx@linutronix.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@intel.com>
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Chen Wang <unicorn_wang@outlook.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);
}
prev parent reply other threads:[~2025-04-24 12:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-22 0:38 [PATCH] irqchip/sg2042-msi: Fix wrong type cast in sg2044_msi_irq_ack Inochi Amaoto
2025-04-22 1:46 ` Chen Wang
2025-04-24 12:28 ` tip-bot2 for Inochi Amaoto [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174549769785.31282.8000166567328581653.tip-bot2@tip-bot2 \
--to=tip-bot2@linutronix.de \
--cc=inochiama@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=lkp@intel.com \
--cc=tglx@linutronix.de \
--cc=unicorn_wang@outlook.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®