[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <HE1PR0402MB2748D72F81AE2193AD2197A98BD00@HE1PR0402MB2748.eurprd04.prod.outlook.com>
Date: Mon, 17 Oct 2016 21:58:19 +0000
From: Roy Zang <roy.zang@....com>
To: Leo Li <leoyang.li@....com>, Bjorn Helgaas <bhelgaas@...gle.com>,
"Minghuan Lian" <minghuan.Lian@...escale.com>,
Mingkai Hu <mingkai.hu@...escale.com>,
Roy Zang <tie-fei.zang@...escale.com>
CC: "linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Stuart Yoder <stuart.yoder@....com>
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 <stuart.yoder@....com>
> Signed-off-by: Li Yang <leoyang.li@....com>
> ---
Acked-by: Roy Zang <roy.zang@....com>
Roy
Powered by blists - more mailing lists