From: Simon Horman <horms@verge.net.au>
To: Kangjie Lu <kjlu@umn.edu>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
Bjorn Helgaas <bhelgaas@google.com>,
linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] pci: pcie-rcar: fix a potential NULL pointer dereference
Date: Fri, 15 Mar 2019 12:54:06 +0100 [thread overview]
Message-ID: <20190315115406.h7pgtvnzzl6ytavr@verge.net.au> (raw)
In-Reply-To: <20190315072943.22923-1-kjlu@umn.edu>
On Fri, Mar 15, 2019 at 02:29:43AM -0500, Kangjie Lu wrote:
> In case __get_free_pages fails and returns NULL, the fix returns
> -ENOMEM and releases resources to avoid NULL pointer dereference.
>
> Signed-off-by: Kangjie Lu <kjlu@umn.edu>
> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
next prev parent reply other threads:[~2019-03-15 11:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-14 5:56 [PATCH] pci: pcie-rcar: fix a potential NULL pointer dereference Kangjie Lu
2019-03-14 7:30 ` Geert Uytterhoeven
2019-03-14 8:07 ` [PATCH v2] " Kangjie Lu
2019-03-14 8:10 ` Geert Uytterhoeven
2019-03-15 7:29 ` Kangjie Lu
2019-03-15 10:07 ` Ulrich Hecht
2019-03-15 11:54 ` Simon Horman [this message]
2019-03-29 16:22 ` Lorenzo Pieralisi
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=20190315115406.h7pgtvnzzl6ytavr@verge.net.au \
--to=horms@verge.net.au \
--cc=bhelgaas@google.com \
--cc=kjlu@umn.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).