[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkda7cVg48Ls2_cCMC6+--aVecvu5rJ17gzPSw2FycFF6Cw@mail.gmail.com>
Date: Fri, 17 Jul 2015 09:49:24 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Krzysztof Kozlowski <k.kozlowski.k@...il.com>,
Rabin Vincent <rabin@....in>
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>,
stable <stable@...r.kernel.org>
Subject: Re: [RFT PATCH] gpio: etraxfs: Fix devm_ioremap_resource return value check
On Thu, Jul 9, 2015 at 3:19 PM, Krzysztof Kozlowski
<k.kozlowski.k@...il.com> wrote:
> Value returned by devm_ioremap_resource() was checked for non-NULL but
> devm_ioremap_resource() returns IOMEM_ERR_PTR, not NULL. In case of
> error this could lead to dereference of ERR_PTR.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski.k@...il.com>
> Fixes: d342571efea8 ("gpio: add ETRAXFS GPIO driver")
> Cc: <stable@...r.kernel.org>
Patch applied for next cycle, stripped the Fixes: and stable tags.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists