Gerd Hoffmann
2019-Dec-06 10:13 UTC
[PATCH] drm/qxl: remove unnecessary BUG_ON check for handle
On Thu, Dec 05, 2019 at 05:42:31PM -0600, Aditya Pakki wrote:> In qxl_gem_object_create_with_handle(), handle's memory is not > allocated on the heap. Checking for failure of handle via BUG_ON > is unnecessary. This patch eliminates the check.The check makes sure the caller doesn't pass in handle == NULL and it is needed. cheers, Gerd
Apparently Analagous Threads
- [PATCH 3/3] drm/qxl: use QXL_GEM_DOMAIN_SURFACE for dumb gem objects
- [PATCH v2 09/18] drm/qxl: use QXL_GEM_DOMAIN_SURFACE for dumb gem objects
- [PATCH] drm/noveau: fix reference count leak in nouveau_debugfs_strap_peek
- [PATCH] drm/noveau: fix reference count leak in nv50_disp_atomic_commit
- [PATCH AUTOSEL 5.8 22/64] drm/nouveau: fix reference count leak in nouveau_debugfs_strap_peek