OSDN Git Service

ARM: pxa: pxa_cplds: signedness bug in probe
authorRobert Jarzmik <robert.jarzmik@free.fr>
Thu, 21 May 2015 19:55:42 +0000 (21:55 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 22 May 2015 14:41:20 +0000 (16:41 +0200)
commitbd7413aef860baed78c76734050c1de4194ed61c
tree02625317f89a59960e6ecfd8cec3e3a8ebcdc389
parent632a686b8fd49245c7ae9271e2c705a06071ade3
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>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-pxa/pxa_cplds_irqs.c