[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZV-8XOn-NyF+z8KQfaYjrZGq3Rqa7smekciBEhypFDzg@mail.gmail.com>
Date: Tue, 8 Sep 2015 10:32:01 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Peng Fan <van.freenix@...il.com>
Cc: Alexandre Courbot <gnurou@...il.com>,
Shawn Guo <shawn.guo@...aro.org>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] gpio: mxc: need to check return value of irq_alloc_generic_chip
On Sun, Aug 23, 2015 at 3:11 PM, Peng Fan <van.freenix@...il.com> wrote:
> Need to check return value of irq_alloc_generic_chip, because
> it may return NULL.
> 1. Change mxc_gpio_init_gc return type from void to int.
> 2. Add a new lable out_irqdomain_remove to remove the irq domain
> when mxc_gpio_init_gc fail.
>
> Signed-off-by: Peng Fan <van.freenix@...il.com>
> Cc: Linus Walleij <linus.walleij@...aro.org>
> Cc: Alexandre Courbot <gnurou@...il.com>
I manually rebased this and applied to fixes.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists