[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdYcePwF=FDGePAhfotfoOJGRPmBP91JQyuuyVVuKvt7yA@mail.gmail.com>
Date: Mon, 29 May 2017 13:33:22 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Alexandre Courbot <gnurou@...il.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/3] gpio: pch: check the return value of irq_alloc_generic_chip()
On Thu, May 25, 2017 at 10:37 AM, Bartosz Golaszewski <brgl@...ev.pl> wrote:
> This function can fail, so check the return value before dereferencing
> the returned pointer.
>
> Signed-off-by: Bartosz Golaszewski <brgl@...ev.pl>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists