Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1220603
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] gpio: mxs: need to check return value of irq_alloc_generic_chip |
| Date | 2015-09-08 10:40 +0200 |
| Message-ID | <q6mBA-7oT-15@gated-at.bofh.it> (permalink) |
| References | <q0DlM-1Rq-11@gated-at.bofh.it> <q0DlM-1Rq-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 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@gmail.com> > Cc: Linus Walleij <linus.walleij@linaro.org> > Cc: Alexandre Courbot <gnurou@gmail.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 2/2] gpio: mxs: need to check return value of irq_alloc_generic_chip Linus Walleij <linus.walleij@linaro.org> - 2015-09-08 10:40 +0200
csiph-web