2016-10-17 22:14:08

by Roy Zang

[permalink] [raw]
Subject: Re: [PATCH] PCI: layerscape: Fix kernel panic on accessing NULL pointer

On 10/17/2016 04:50 PM, Li Yang wrote:
> Commit fefe6733e added reference to the pcie->drvdata before it is
> initialized which causes a kernel panic. Fix the problem by
> initializing the pcie->drvdata earlier before it is used.
>
> Reported-by: Stuart Yoder <[email protected]>
> Signed-off-by: Li Yang <[email protected]>
> ---

Acked-by: Roy Zang <[email protected]>

Roy