From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: David Daney <david.daney@cavium.com>,
linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org,
Grant Likely <grant.likely@secretlab.ca>
Subject: Re: [PATCH] pci/of: Don't crash when bridge parent is NULL.
Date: Tue, 16 Aug 2011 21:11:09 -0700 [thread overview]
Message-ID: <20110816211109.13c80d34@jbarnes-e6510> (raw)
In-Reply-To: <1313522178.3664.69.camel@pasglop>
On Tue, 16 Aug 2011 14:16:18 -0500
Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
> On Tue, 2011-08-16 at 11:24 -0700, David Daney wrote:
> > In pcibios_get_phb_of_node(), we will crash while booting if
> > bus->bridge->parent is NULL.
> >
> > Check for this case and avoid dereferencing the NULL pointer.
> >
> > Signed-off-by: David Daney <david.daney@cavium.com>
>
> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
>
> Jesse or Grant, I'm travelling, can any of you send that to Linus
> asap ?
Sure looks fine. I'll send it off tomorrow (now that I'm back :).
Thanks,
Jesse
next prev parent reply other threads:[~2011-08-17 4:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-16 18:24 [PATCH] pci/of: Don't crash when bridge parent is NULL David Daney
2011-08-16 19:16 ` Benjamin Herrenschmidt
2011-08-17 4:11 ` Jesse Barnes [this message]
2011-08-17 11:29 ` Grant Likely
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=20110816211109.13c80d34@jbarnes-e6510 \
--to=jbarnes@virtuousgeek.org \
--cc=benh@kernel.crashing.org \
--cc=david.daney@cavium.com \
--cc=grant.likely@secretlab.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox