Re: [PATCH] drm/shmem: Cleanup drm_gem_shmem_create_with_handle()

2023-01-19 Thread kernel test robot
-drm_gem_shmem_create_with_handle/20230120-021440 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20230119181325.2834875-1-robdclark%40gmail.com patch subject: [PATCH] drm/shmem: Cleanup drm_gem_shmem_create_with_handle() config: ia64-allyesconfig (https

[PATCH] drm/shmem: Cleanup drm_gem_shmem_create_with_handle()

2023-01-19 Thread Rob Clark
From: Rob Clark Once we create the handle, the handle owns the reference. Currently nothing was doing anything with the shmem ptr after the handle was created, but let's change drm_gem_shmem_create_with_handle() to not return the pointer, so-as to not encourage problematic use of this function