[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150716173658.GA1824@debian>
Date: Thu, 16 Jul 2015 19:36:58 +0200
From: Rabin Vincent <rabin@....in>
To: Krzysztof Kozlowski <k.kozlowski.k@...il.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Alexandre Courbot <gnurou@...il.com>,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [RFT PATCH] gpio: etraxfs: Fix devm_ioremap_resource return
value check
On Thu, Jul 09, 2015 at 10:19:53PM +0900, Krzysztof Kozlowski 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")
Acked-by: Rabin Vincent <rabin@....in>
> Cc: <stable@...r.kernel.org>
I don't think this demands a stable backport though.
--
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