Dan Carpenter d535922691 gpio: mvebu: make mvchip->irqbase signed for error handling
There is a bug in mvebu_gpio_probe() where we do:

	mvchip->irqbase = irq_alloc_descs(-1, 0, ngpios, -1);
	if (mvchip->irqbase < 0) {

The problem is that mvchip->irqbase is unsigned so the error handling
doesn't work.  I have changed it to be a regular int.

Cc: stable@vger.kernel.org
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2013-11-25 09:03:12 +01:00
..
2013-10-29 18:26:14 -07:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:59 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2011-06-06 10:10:11 -06:00
2013-08-16 15:24:35 +02:00
2013-10-19 23:24:03 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:33 -08:00
2013-08-16 15:24:35 +02:00
2013-09-23 20:00:01 +02:00
2013-07-21 18:14:20 +02:00
2012-11-28 11:39:59 -08:00
2013-08-16 15:24:35 +02:00
2013-11-11 17:34:56 +09:00
2012-11-28 11:39:33 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-11-28 11:39:59 -08:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-06-17 07:47:33 +02:00