Re: [PATCH] drm: qxl: Fix error handling at qxl_device_init

From: Gerd Hoffmann
Date: Fri Aug 10 2018 - 02:04:03 EST


On Fri, Jul 27, 2018 at 02:54:40PM +0300, Anton Vasilyev wrote:
> If qxl_device_init fails on creating resources and does not report it,
> then qxl module will catch null pointer exception on remove, or on
> probe's error path.
>
> The patch adds error path with resources release into qxl_device_init.
>
> Found by Linux Driver Verification project (linuxtesting.org).

Pushed to drm-misc-next.

thanks,
Gerd