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-09-23 12:52:21 +02:00
2013-10-16 09:59:10 +02:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2012-07-12 13:40:13 +02:00
2013-10-02 12:50:35 +02:00
2013-10-30 11:23:00 -07:00
2013-09-20 20:43:09 +02:00
2013-10-02 12:43:25 +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-09-24 10:31:51 +05:30
2013-10-16 09:59:41 +02:00
2013-10-16 09:59:54 +02:00
2013-08-30 09:25:52 +02:00
2012-03-16 11:15:48 -05:00
2013-04-11 19:33:54 +02:00
2013-06-19 21:40:38 +02:00
2013-08-16 15:24:35 +02:00
2013-10-16 09:59:51 +02:00
2013-09-20 23:05:19 +02:00
2011-06-06 10:10:11 -06:00
2013-08-16 15:24:35 +02:00
2013-08-16 17:56:53 +02:00
2011-08-22 09:12:54 +01:00
2013-10-16 13:09:10 +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
2013-03-27 16:05:11 +01:00
2013-08-23 19:44:28 +02:00
2012-09-01 01:02:27 +02:00
2013-09-23 12:53:13 +02:00
2013-08-30 09:25:52 +02:00
2013-05-30 19:39:20 +02:00
2012-05-21 14:31:53 +01:00
2013-11-12 16:52:17 +09:00
2012-11-28 11:39:33 -08:00
2013-08-16 15:24:35 +02:00
2013-07-31 00:34:31 +02:00
2013-09-07 10:53:00 -07:00
2013-11-25 09:03:12 +01:00
2013-08-16 15:19:11 +02:00
2013-11-06 10:51:24 +01:00
2013-08-26 15:33:40 +02:00
2013-10-16 10:06:00 +02:00
2013-09-19 15:31:48 +02:00
2013-09-23 12:57:11 +02:00
2013-09-23 20:00:01 +02:00
2013-05-20 20:27:30 +02:00
2013-10-16 09:59:52 +02:00
2013-07-21 18:14:20 +02:00
2012-11-28 11:39:59 -08:00
2013-10-16 13:10:00 +02:00
2013-08-16 15:24:35 +02:00
2013-10-29 11:01:02 +00:00
2013-11-11 17:34:56 +09:00
2013-05-20 20:27:30 +02:00
2012-11-28 11:39:33 -08:00
2013-08-16 17:16:31 +02:00
2013-08-16 15:24:35 +02:00
2013-10-16 09:59:53 +02:00
2013-03-27 16:05:16 +01:00
2013-08-16 15:24:35 +02:00
2013-11-25 09:02:29 +01:00
2013-10-11 19:06:12 +02:00
2013-10-17 10:51:53 +02:00
2013-08-16 15:24:35 +02:00
2013-09-25 04:16:37 +05:30
2012-12-16 18:55:20 -08:00
2013-03-27 16:05:18 +01:00
2013-08-16 15:24:35 +02:00
2013-08-16 15:24:35 +02:00
2013-10-02 12:44:34 +02:00
2013-07-20 21:38:18 +02:00
2013-07-20 19:03:48 +02:00
2013-07-20 19:05:15 +02:00
2013-08-16 15:24:35 +02:00
2013-05-20 20:27:30 +02:00
2012-11-28 11:39:59 -08:00
2013-05-30 19:20:21 +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-06-17 07:47:33 +02:00
2013-10-19 23:32:14 +02:00
2013-11-12 15:50:46 +09:00
2013-11-25 09:03:12 +01:00
2013-11-12 15:50:46 +09:00
2013-11-12 15:50:46 +09:00