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


Groups > linux.kernel > #1652439

Re: [PATCH 3/3] gpio: ml-ioh: check the return value of irq_alloc_generic_chip()

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] gpio: ml-ioh: check the return value of irq_alloc_generic_chip()
Date 2017-05-29 13:40 +0200
Message-ID <tMrbI-7Eh-11@gated-at.bofh.it> (permalink)
References <tKWtj-5Qx-7@gated-at.bofh.it> <tKWtj-5Qx-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, May 25, 2017 at 10:37 AM, Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> This function can fail, so check the return value before dereferencing
> the returned pointer.
>
> Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>

Patch applied.

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH 3/3] gpio: ml-ioh: check the return value of irq_alloc_generic_chip() Bartosz Golaszewski <brgl@bgdev.pl> - 2017-05-25 10:40 +0200
  Re: [PATCH 3/3] gpio: ml-ioh: check the return value of irq_alloc_generic_chip() Linus Walleij <linus.walleij@linaro.org> - 2017-05-29 13:40 +0200

csiph-web