[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdb+otANCC78tUK7xdX1pBGWgY76o2P1Y_BJMH+M3PH3kg@mail.gmail.com>
Date: Mon, 29 May 2017 13:34:44 +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 3/3] gpio: ml-ioh: 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