[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CACRpkdabV8dfHcn8MCCrc3zA+yDO0zK0ko0QG5bN=fDoHZo+dQ@mail.gmail.com>
Date: Mon, 15 Feb 2016 14:38:56 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Nicholas Krause <xerofoify@...il.com>
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] davinci:Fix possible NULL pointer deference in the
function davinci_gpio_probe
On Wed, Feb 3, 2016 at 1:17 AM, Nicholas Krause <xerofoify@...il.com> wrote:
> This fixes a possible NULL pointer deference in the function,
> davinci_gpio_probe due to the function, gpio2regs being able
> to return a NULL pointer if it rans to get the registers for
> the gpio devices on a davinci board. Furthermore if this does
> arise return -ENXIO to signal callers that this case has arisen
> and avoiding setting the regs or other pointer values on the
>
> Signed-off-by: Nicholas Krause <xerofoify@...il.com>
Patch applied with Alex' review tag.
Yours,
Linus Walleij
Powered by blists - more mailing lists