On pe, 2016-09-30 at 11:38 +0100, Chris Wilson wrote: > dma_buf_export() adds a reference to the owning module to the dmabuf (to > prevent the driver from being unloaded whilst a third party still refers > to the dmabuf). However, drm_gem_prime_export() was passing its own > THIS_MODULE (i.e. drm.ko) rather than the driver. Expand the interface > so that driver passes the struct module to the helper. > > Testcase: igt/vgem_reload_basic > Reported-by: Petri Latvala <petri.latvala at intel.com> > Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk> > Cc: Petri Latvala <petri.latvala at intel.com> > Cc: stable at vger.kernel.org
>From previous experience (with the BIT() conversion), expectation is to CC all driver maintainers, even for simple changes. Should not be hard to split this change either. Code is anyway; Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com> Regards, Joonas -- Joonas Lahtinen Open Source Technology Center Intel Corporation