[PATCH] PCI: layerscape: Fix kernel panic on accessing NULL pointer

Roy Zang roy.zang at nxp.com
Mon Oct 17 14:58:19 PDT 2016


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 at nxp.com>
> Signed-off-by: Li Yang <leoyang.li at nxp.com>
> ---

 Acked-by:  Roy Zang <roy.zang at nxp.com>

Roy




More information about the linux-arm-kernel mailing list