Re: [Intel-gfx] [PATCH v2] drm/i915: fix pch pci device enumeration

2014-02-28 Thread Jani Nikula
On Fri, 14 Feb 2014, Chris Wilson wrote: > On Fri, Feb 14, 2014 at 08:23:54PM +0200, Imre Deak wrote: >> pci_get_class(class, from) drops the refcount for 'from', so the >> extra pci_dev_put we do on it will result in a use after free bug >> starting with the WARN below. >> >> Regression introduc

Re: [Intel-gfx] [PATCH v2] drm/i915: fix pch pci device enumeration

2014-02-14 Thread Chris Wilson
On Fri, Feb 14, 2014 at 08:23:54PM +0200, Imre Deak wrote: > pci_get_class(class, from) drops the refcount for 'from', so the > extra pci_dev_put we do on it will result in a use after free bug > starting with the WARN below. > > Regression introduced in > > commit 6a9c4b35e6696a63805b6da5e4889c6

[Intel-gfx] [PATCH v2] drm/i915: fix pch pci device enumeration

2014-02-14 Thread Imre Deak
pci_get_class(class, from) drops the refcount for 'from', so the extra pci_dev_put we do on it will result in a use after free bug starting with the WARN below. Regression introduced in commit 6a9c4b35e6696a63805b6da5e4889c6986e9ee1b Author: Rui Guo Date: Wed Jun 19 21:10:23 2013 +0800 dr