Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1220600 > unrolled thread

Re: [PATCH 1/2] gpio: mxc: need to check return value of irq_alloc_generic_chip

Started byLinus Walleij <linus.walleij@linaro.org>
First post2015-09-08 10:40 +0200
Last post2015-09-08 10:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/2] gpio: mxc: need to check return value of irq_alloc_generic_chip Linus Walleij <linus.walleij@linaro.org> - 2015-09-08 10:40 +0200

#1220600 — Re: [PATCH 1/2] gpio: mxc: need to check return value of irq_alloc_generic_chip

FromLinus Walleij <linus.walleij@linaro.org>
Date2015-09-08 10:40 +0200
SubjectRe: [PATCH 1/2] gpio: mxc: need to check return value of irq_alloc_generic_chip
Message-ID<q6mBz-7oT-1@gated-at.bofh.it>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web