[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4E4BA614.80709@secretlab.ca>
Date: Wed, 17 Aug 2011 05:29:24 -0600
From: Grant Likely <glikely@...retlab.ca>
To: Jesse Barnes <jbarnes@...tuousgeek.org>
CC: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
David Daney <david.daney@...ium.com>,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
Grant Likely <grant.likely@...retlab.ca>
Subject: Re: [PATCH] pci/of: Don't crash when bridge parent is NULL.
On 11-08-16 10:11 PM, Jesse Barnes wrote:
> On Tue, 16 Aug 2011 14:16:18 -0500
> Benjamin Herrenschmidt<benh@...nel.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@...ium.com>
>>
>> Acked-by: Benjamin Herrenschmidt<benh@...nel.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
thanks Jesse.
Acked-by: Grant Likely <grant.likely@...retlab.ca>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists