[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdb5tTCc81qdsMnk-GOw79EYfny7bGmygd-u0FKn3EOhHA@mail.gmail.com>
Date: Tue, 8 Sep 2015 10:34:51 +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 2/2] gpio: mxs: 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 mxs_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>
Rebased and applied for 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