[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <AM2PR04MB077062B18CE8197BB7FE77808FD40@AM2PR04MB0770.eurprd04.prod.outlook.com>
Date: Fri, 21 Oct 2016 16:05:04 +0000
From: Leo Li <leoyang.li@....com>
To: Bjorn Helgaas <helgaas@...nel.org>
CC: Bjorn Helgaas <bhelgaas@...gle.com>,
Minghuan Lian <minghuan.Lian@...escale.com>,
Mingkai Hu <mingkai.hu@...escale.com>,
"Roy Zang" <tie-fei.zang@...escale.com>,
"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Stuart Yoder <stuart.yoder@....com>
Subject: RE: [PATCH] PCI: layerscape: Fix kernel panic on accessing NULL
pointer
> -----Original Message-----
> From: Bjorn Helgaas [mailto:helgaas@...nel.org]
> Sent: Friday, October 21, 2016 10:37 AM
> To: Leo Li <leoyang.li@....com>
> Cc: Bjorn Helgaas <bhelgaas@...gle.com>; Minghuan Lian
> <minghuan.Lian@...escale.com>; Mingkai Hu <mingkai.hu@...escale.com>;
> Roy Zang <tie-fei.zang@...escale.com>; linux-pci@...r.kernel.org; linux-
> kernel@...r.kernel.org; linux-arm-kernel@...ts.infradead.org; Stuart Yoder
> <stuart.yoder@....com>
> Subject: Re: [PATCH] PCI: layerscape: Fix kernel panic on accessing NULL pointer
>
> On Mon, Oct 17, 2016 at 04:44:06PM -0500, 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>
>
> I applied Marc Zyngier's identical patch to for-linus for v4.9. I don't know which
> was posted first, but I saw Marc's first. Sorry I didn't at least credit you when I
> applied it.
It's ok. Seems Marc sent the patch earlier and I didn't notice his patch. There is no difference as long as the problem is addressed. :)
Regards,
Leo
Powered by blists - more mailing lists