public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irqchip: renesas-irqc: Use u32 to store 32-bit register values
@ 2015-02-26 10:43 Geert Uytterhoeven
  2015-03-08  4:05 ` Jason Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2015-02-26 10:43 UTC (permalink / raw)
  To: Thomas Gleixner, Jason Cooper, Magnus Damm
  Cc: linux-sh, linux-kernel, Geert Uytterhoeven

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/irqchip/irq-renesas-irqc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/irqchip/irq-renesas-irqc.c b/drivers/irqchip/irq-renesas-irqc.c
index 384e6ed61d7c5e94..2ea3412fdf8cc668 100644
--- a/drivers/irqchip/irq-renesas-irqc.c
+++ b/drivers/irqchip/irq-renesas-irqc.c
@@ -94,7 +94,7 @@ static int irqc_irq_set_type(struct irq_data *d, unsigned int type)
 	struct irqc_priv *p = irq_data_get_irq_chip_data(d);
 	int hw_irq = irqd_to_hwirq(d);
 	unsigned char value = irqc_sense[type & IRQ_TYPE_SENSE_MASK];
-	unsigned long tmp;
+	u32 tmp;
 
 	irqc_dbg(&p->irq[hw_irq], "sense");
 
@@ -112,7 +112,7 @@ static irqreturn_t irqc_irq_handler(int irq, void *dev_id)
 {
 	struct irqc_irq *i = dev_id;
 	struct irqc_priv *p = i->p;
-	unsigned long bit = BIT(i->hw_irq);
+	u32 bit = BIT(i->hw_irq);
 
 	irqc_dbg(i, "demux1");
 
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] irqchip: renesas-irqc: Use u32 to store 32-bit register values
  2015-02-26 10:43 [PATCH] irqchip: renesas-irqc: Use u32 to store 32-bit register values Geert Uytterhoeven
@ 2015-03-08  4:05 ` Jason Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Cooper @ 2015-03-08  4:05 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Thomas Gleixner, Magnus Damm, linux-sh, linux-kernel

Geert,

On Thu, Feb 26, 2015 at 11:43:32AM +0100, Geert Uytterhoeven wrote:
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  drivers/irqchip/irq-renesas-irqc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied to irqchip/core several days ago (my mailserver was down).

thx,

Jason.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-08  4:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-26 10:43 [PATCH] irqchip: renesas-irqc: Use u32 to store 32-bit register values Geert Uytterhoeven
2015-03-08  4:05 ` Jason Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox