Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702123

Re: [PATCH] staging: vboxvideo: use drm_gem_object_put instead of drm_gem_object_unreference

From Cihangir Akturk <cakturk@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: vboxvideo: use drm_gem_object_put instead of drm_gem_object_unreference
Date 2017-08-02 15:50 +0200
Message-ID <ua2c9-24x-15@gated-at.bofh.it> (permalink)
References <ua16p-1sn-13@gated-at.bofh.it> <ua16p-1sn-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com> 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@gmail.com>
> 
> 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.

Thanks.

> 
> Hans/Greg: Can we pls fix up MAINTAINERS to make sure vboxdrm patches
> also go to dri-devel?
> 
> Thanks, Daniel

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] staging: vboxvideo: use drm_gem_object_put instead of drm_gem_object_unreference Daniel Vetter <daniel@ffwll.ch> - 2017-08-02 14:40 +0200
  Re: [PATCH] staging: vboxvideo: use drm_gem_object_put instead of  drm_gem_object_unreference Cihangir Akturk <cakturk@gmail.com> - 2017-08-02 15:50 +0200
    Re: [PATCH] staging: vboxvideo: use drm_gem_object_put instead of drm_gem_object_unreference Daniel Vetter <daniel@ffwll.ch> - 2017-08-02 16:20 +0200

csiph-web