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

From: Linus Walleij
Date: Mon May 29 2017 - 07:34:52 EST


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

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

Patch applied.

Yours,
Linus Walleij