[Intel-gfx] [PATCH 29/52] drm/bochs: Drop explicit drm_mode_config_cleanup
Gerd Hoffmann
kraxel at redhat.com
Mon Feb 24 08:15:59 UTC 2020
On Wed, Feb 19, 2020 at 11:20:59AM +0100, Daniel Vetter wrote:
> Instead rely on the automatic clean, for which we just need to check
> that drm_mode_config_init succeeded. To avoid an inversion in the
> cleanup we also have to move the dev_private allocation over to
> drmm_kzalloc.
>
> Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: virtualization at lists.linux-foundation.org
Acked-by: Gerd Hoffmann <kraxel at redhat.com>
More information about the Intel-gfx
mailing list