Re: [PATCH 1/3] gpio: pch: check the return value of irq_alloc_generic_chip()

From: Linus Walleij
Date: Mon May 29 2017 - 07:33:28 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