lkml.org 
[lkml]   [2011]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pci/of: Don't crash when bridge parent is NULL.
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


\
 
 \ /
  Last update: 2011-08-17 06:13    [W:0.103 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site