Re: [PATCH v2] drm: udl: Destroy framebuffer only if it was initialized

2018-09-10 Thread Sean Paul
On Mon, May 28, 2018 at 10:27 AM Emil Lundmark wrote: > > This fixes a NULL pointer dereference that can happen if the UDL > driver is unloaded before the framebuffer is initialized. This can > happen e.g. if the USB device is unplugged right after it was plugged > in. > > As explained by Stéphane

[PATCH v2] drm: udl: Destroy framebuffer only if it was initialized

2018-05-29 Thread Emil Lundmark
This fixes a NULL pointer dereference that can happen if the UDL driver is unloaded before the framebuffer is initialized. This can happen e.g. if the USB device is unplugged right after it was plugged in. As explained by Stéphane Marchesin: It happens when fbdev is disabled (which is the case fo

Re: [PATCH v2] drm: udl: Destroy framebuffer only if it was initialized

2018-05-28 Thread Daniel Vetter
On Mon, May 28, 2018 at 04:27:11PM +0200, Emil Lundmark wrote: > This fixes a NULL pointer dereference that can happen if the UDL > driver is unloaded before the framebuffer is initialized. This can > happen e.g. if the USB device is unplugged right after it was plugged > in. > > As explained by S