Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752185AbdHBNsL (ORCPT ); Wed, 2 Aug 2017 09:48:11 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:32977 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751895AbdHBNsJ (ORCPT ); Wed, 2 Aug 2017 09:48:09 -0400 Date: Wed, 2 Aug 2017 16:47:56 +0300 From: Cihangir Akturk To: Daniel Vetter Cc: Linux Kernel Mailing List , Greg KH , Hans de Goede , Michael Thayer , devel@driverdev.osuosl.org Subject: Re: [PATCH] staging: vboxvideo: use drm_gem_object_put instead of drm_gem_object_unreference Message-ID: <20170802134756.GA796@mbp> References: <1501631202-11656-1-git-send-email-cakturk@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 769 Lines: 23 On Wed, Aug 02, 2017 at 02:38:50PM +0200, Daniel Vetter wrote: > On Wed, Aug 2, 2017 at 1:46 AM, Cihangir Akturk 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 > > 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