Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1186114 > unrolled thread

Re: [RFT PATCH] gpio: etraxfs: Fix devm_ioremap_resource return value check

Started byRabin Vincent <rabin@rab.in>
First post2015-07-16 19:40 +0200
Last post2015-07-16 19:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFT PATCH] gpio: etraxfs: Fix devm_ioremap_resource return  value check Rabin Vincent <rabin@rab.in> - 2015-07-16 19:40 +0200

#1186114 — Re: [RFT PATCH] gpio: etraxfs: Fix devm_ioremap_resource return value check

FromRabin Vincent <rabin@rab.in>
Date2015-07-16 19:40 +0200
SubjectRe: [RFT PATCH] gpio: etraxfs: Fix devm_ioremap_resource return value check
Message-ID<pMViy-57c-19@gated-at.bofh.it>
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@gmail.com>
> Fixes: d342571efea8 ("gpio: add ETRAXFS GPIO driver")

Acked-by: Rabin Vincent <rabin@rab.in>

> Cc: <stable@vger.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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web