Messages in this thread | | | Date | Tue, 8 Sep 2015 10:32:01 +0200 | Subject | Re: [PATCH 1/2] gpio: mxc: need to check return value of irq_alloc_generic_chip | From | Linus Walleij <> |
| |
On Sun, Aug 23, 2015 at 3:11 PM, Peng Fan <van.freenix@gmail.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@gmail.com> > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: Alexandre Courbot <gnurou@gmail.com>
I manually rebased this and applied to fixes.
Yours, Linus Walleij
| |