From: Rabin Vincent <rabin@rab.in>
To: Krzysztof Kozlowski <k.kozlowski.k@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Alexandre Courbot <gnurou@gmail.com>,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [RFT PATCH] gpio: etraxfs: Fix devm_ioremap_resource return value check
Date: Thu, 16 Jul 2015 19:36:58 +0200 [thread overview]
Message-ID: <20150716173658.GA1824@debian> (raw)
In-Reply-To: <1436447993-24630-1-git-send-email-k.kozlowski.k@gmail.com>
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.
next prev parent reply other threads:[~2015-07-16 17:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-09 13:19 [RFT PATCH] gpio: etraxfs: Fix devm_ioremap_resource return value check Krzysztof Kozlowski
2015-07-09 13:19 ` Krzysztof Kozlowski
2015-07-13 14:36 ` Alexandre Courbot
2015-07-16 13:52 ` Linus Walleij
2015-07-16 17:36 ` Rabin Vincent [this message]
2015-07-17 7:49 ` Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150716173658.GA1824@debian \
--to=rabin@rab.in \
--cc=gnurou@gmail.com \
--cc=k.kozlowski.k@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.