* [PATCH] irqchip/gic-v3-its: Fix misplaced __iomem annotations
@ 2018-02-16 16:57 Robin Murphy
2018-02-16 17:02 ` Marc Zyngier
0 siblings, 1 reply; 2+ messages in thread
From: Robin Murphy @ 2018-02-16 16:57 UTC (permalink / raw)
To: tglx, jason, marc.zyngier; +Cc: linux-arm-kernel, linux-kernel
Save 26 lines worth of Sparse complaints by fixing up this minor
mishap. The pointee lies in the __iomem space; the pointer does not.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
---
drivers/irqchip/irq-gic-v3-its.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
index 06f025fd5726..3a38b4e8685e 100644
--- a/drivers/irqchip/irq-gic-v3-its.c
+++ b/drivers/irqchip/irq-gic-v3-its.c
@@ -2495,7 +2495,7 @@ static int its_vpe_set_affinity(struct irq_data *d,
static void its_vpe_schedule(struct its_vpe *vpe)
{
- void * __iomem vlpi_base = gic_data_rdist_vlpi_base();
+ void __iomem *vlpi_base = gic_data_rdist_vlpi_base();
u64 val;
/* Schedule the VPE */
@@ -2527,7 +2527,7 @@ static void its_vpe_schedule(struct its_vpe *vpe)
static void its_vpe_deschedule(struct its_vpe *vpe)
{
- void * __iomem vlpi_base = gic_data_rdist_vlpi_base();
+ void __iomem *vlpi_base = gic_data_rdist_vlpi_base();
u32 count = 1000000; /* 1s! */
bool clean;
u64 val;
--
2.16.1.dirty
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] irqchip/gic-v3-its: Fix misplaced __iomem annotations
2018-02-16 16:57 [PATCH] irqchip/gic-v3-its: Fix misplaced __iomem annotations Robin Murphy
@ 2018-02-16 17:02 ` Marc Zyngier
0 siblings, 0 replies; 2+ messages in thread
From: Marc Zyngier @ 2018-02-16 17:02 UTC (permalink / raw)
To: Robin Murphy, tglx, jason; +Cc: linux-arm-kernel, linux-kernel
On 16/02/18 16:57, Robin Murphy wrote:
> Save 26 lines worth of Sparse complaints by fixing up this minor
> mishap. The pointee lies in the __iomem space; the pointer does not.
>
> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
> ---
> drivers/irqchip/irq-gic-v3-its.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c
> index 06f025fd5726..3a38b4e8685e 100644
> --- a/drivers/irqchip/irq-gic-v3-its.c
> +++ b/drivers/irqchip/irq-gic-v3-its.c
> @@ -2495,7 +2495,7 @@ static int its_vpe_set_affinity(struct irq_data *d,
>
> static void its_vpe_schedule(struct its_vpe *vpe)
> {
> - void * __iomem vlpi_base = gic_data_rdist_vlpi_base();
> + void __iomem *vlpi_base = gic_data_rdist_vlpi_base();
> u64 val;
>
> /* Schedule the VPE */
> @@ -2527,7 +2527,7 @@ static void its_vpe_schedule(struct its_vpe *vpe)
>
> static void its_vpe_deschedule(struct its_vpe *vpe)
> {
> - void * __iomem vlpi_base = gic_data_rdist_vlpi_base();
> + void __iomem *vlpi_base = gic_data_rdist_vlpi_base();
> u32 count = 1000000; /* 1s! */
> bool clean;
> u64 val;
>
Ah! Too bad you missed the pull request by a few hours... I'll stash
that for -rc3.
Thanks,
M.
--
Jazz is not dead. It just smells funny...
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-16 17:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-16 16:57 [PATCH] irqchip/gic-v3-its: Fix misplaced __iomem annotations Robin Murphy
2018-02-16 17:02 ` Marc Zyngier
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®