Re: [PATCH] staging: vboxvideo: use drm_gem_object_put instead of drm_gem_object_unreference
From: Cihangir Akturk
Date: Wed Aug 02 2017 - 09:48:13 EST
On Wed, Aug 02, 2017 at 02:38:50PM +0200, Daniel Vetter wrote:
> On Wed, Aug 2, 2017 at 1:46 AM, Cihangir Akturk <cakturk@xxxxxxxxx> wrote:
> > drm_gem_object_unreference is a compatibility alias for drm_gem_object_put so should
> > not be used by new code.
> > This patch fixes the following warning reported by coccinelle:
> > drivers/staging/vboxvideo/vbox_main.c:528:1-27: WARNING: use get/put
> > helpers to reference and dereference obj
> > Signed-off-by: Cihangir Akturk <cakturk@xxxxxxxxx>
> Care to do this for all the drm drivers, not just the single one in staging?
Sure, I'll send a v2 shortly as you suggested.
> Hans/Greg: Can we pls fix up MAINTAINERS to make sure vboxdrm patches
> also go to dri-devel?
> Thanks, Daniel