Re: [PATCH] PCI: layerscape: Fix kernel panic on accessing NULL pointer
From: Roy Zang
Date: Mon Oct 17 2016 - 18:14:10 EST
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 <stuart.yoder@xxxxxxx>
> Signed-off-by: Li Yang <leoyang.li@xxxxxxx>
> ---
Acked-by: Roy Zang <roy.zang@xxxxxxx>
Roy