public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [GIT PULL] late pxa fixes for v4.1
@ 2015-05-21 19:55 Robert Jarzmik
  2015-05-22 14:45 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Jarzmik @ 2015-05-21 19:55 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Arnd, Kevin, Olof,

I have a late trivial patch for the v4.1 cycle. Unlike regular pull request,
given the very straightforward nature of this patch, could I ask you to
cherry-pick it directly from this mail ?

If that doesn't work for you, I'll provide a proper pull request.

Thanks.

-- 
Robert

>From 87a3253dd948da65d53ebd83e9569510a2c7b192 Mon Sep 17 00:00:00 2001
From: Dan Carpenter <dan.carpenter@oracle.com>
Date: Wed, 13 May 2015 14:32:39 +0300
Subject: [PATCH] ARM: pxa: pxa_cplds: signedness bug in probe

"base_irq" needs to be signed for the error handling to work.  Also we
can remove the initialization because we re-assign it later.

Fixes: aa8d6b73ea33 ('ARM: pxa: pxa_cplds: add lubbock and mainstone IO')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
---
 arch/arm/mach-pxa/pxa_cplds_irqs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-pxa/pxa_cplds_irqs.c b/arch/arm/mach-pxa/pxa_cplds_irqs.c
index f1aeb54..2385052 100644
--- a/arch/arm/mach-pxa/pxa_cplds_irqs.c
+++ b/arch/arm/mach-pxa/pxa_cplds_irqs.c
@@ -107,7 +107,7 @@ static int cplds_probe(struct platform_device *pdev)
 	struct resource *res;
 	struct cplds *fpga;
 	int ret;
-	unsigned int base_irq = 0;
+	int base_irq;
 	unsigned long irqflags = 0;
 
 	fpga = devm_kzalloc(&pdev->dev, sizeof(*fpga), GFP_KERNEL);
-- 
2.1.4

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

end of thread, other threads:[~2015-05-22 17:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 19:55 [GIT PULL] late pxa fixes for v4.1 Robert Jarzmik
2015-05-22 14:45 ` Arnd Bergmann
2015-05-22 17:48   ` Robert Jarzmik

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