Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8599046imu; Thu, 15 Nov 2018 14:18:01 -0800 (PST) X-Google-Smtp-Source: AJdET5cQc4aeNiRhAiCiuO/WBeaiNF/UmTO/RU1PJ7ua8oSsBqlx1JUazshRat1SlgjIJl0C3nN4 X-Received: by 2002:a62:1c83:: with SMTP id c125-v6mr3645241pfc.186.1542320281168; Thu, 15 Nov 2018 14:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542320281; cv=none; d=google.com; s=arc-20160816; b=A5oJ7S47fLG7QY95Wc1NDrtk+70rD4fvX3GEmBRqVsZOpbpkUAvUA51tsbt6oW0tU1 FZFN1rcQyQqlBz2/Y7Zs0DxdvEfdBYC5u0jklvSOH2XYMq4T5n4Lk+UI4cl5RkbyGVf0 1BSNEf6UmFXdmSY8OwBHoio9Pe/7knJy0SWCJ2hVrlC41W+UyUWSqqrfxt6deFvw9+sx W+qLFcVz74O94snniCEYCOcgObf6ixg6m0rDVtmKiChxj03B5gEAHTMbeLo2ehMkidrl zCGLjivIm1y/eNtp93DyFuniKWIifG2Tjmsa8SHF0AIk88EcwkAEJdetuLYX4mA/2Wgg vl0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=/Ga6ixswCAMh39m8SVk3xvW/K1WEt/PTY2+rnjOprys=; b=zLOlQHbutAsEtB5+D1HMLoLzQttzqQwj7WzXEY+ERufsb6jW1TYqPiVgA4gd0Sb8Hh bNVyGHAdMvIJ/4yo1cU9knatW+OfA6xCO8gzRiTz1/RX6hdJUhz711x1AbSt9pZvDsSH bhnZ+lfkAkLth2u7suWl+eMhuGvKs2V2i6PW9uj9qCJm1eNjJ19KUAH33PmSVo5FFYRf En6wcCrIGFB8gdl06PibZnd81SAlGH4i992RyQxGDF3N/+FMOj/jLydpKd4oEsxhVYSn l9R3UFqWXaCu3R+mFP/mBbrer1/UTlPXhGwZwEGG5GhEvRKUOSkxmvm6ZGQOmiXAU3wZ 7jTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gluegarage.com header.s=mesmtp header.b=f3asoA3B; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=AYSrVVLK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n78si8986617pfi.235.2018.11.15.14.17.46; Thu, 15 Nov 2018 14:18:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gluegarage.com header.s=mesmtp header.b=f3asoA3B; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=AYSrVVLK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729203AbeKPI0t (ORCPT + 99 others); Fri, 16 Nov 2018 03:26:49 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:37101 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726052AbeKPI0s (ORCPT ); Fri, 16 Nov 2018 03:26:48 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 347BC23173; Thu, 15 Nov 2018 17:17:06 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 15 Nov 2018 17:17:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gluegarage.com; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=mesmtp; bh=/Ga6ixswCA Mh39m8SVk3xvW/K1WEt/PTY2+rnjOprys=; b=f3asoA3B5YQ/dNBRiJ9esmRJRE 0AdSLu3Uc4pJN6C2Qav3INIYUVex5BAeMswrQeUO+7SAq6rrhhppXgAiTNigidoa u/aBDJyEPKyCFIpMLY+ef5qCwhjPPSH7ru+CLMpXMqiAk3LD/2ukbd5PeN3lVI5m RwzjQ0/+4ihoHWNKs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=/Ga6ixswCAMh39m8SVk3xvW/K1WEt/PTY2+rnjOprys=; b=AYSrVVLK khaofqeCU+FmvYc53ZSQ7Vk7NAWIxRbOoMlpC8PusYYLKK0pmTCbn0hWBM9iIiEB 4dHJOSFLEabmjQ7bD14HjBFVgGFCA23OBrQPzKsjG4jQ022ROhaIz+e8vcbEIIU3 lZ8Z3k7WeGJ0ZBwD3w5JtaaT62CS7UiQTAnzsTG3Z/DpjS4i6d0breY1nnufE1Ek Jn2ryAZuSGXrgYlxRdo9sTCDlj3iIHe1ESYOAmI82cYfJJLJfM4zB/4qkmNq4L1l YkJdZQoGs6EM16CQh15NmxkdOUyIg0HE2Ol6WUcOaziuw1dUpuu8LmVRwwUZohZB COJloxAAcfVZNA== X-ME-Sender: X-ME-Proxy: Received: from zaca_x230.localdomain (unknown [109.205.143.80]) by mail.messagingengine.com (Postfix) with ESMTPA id B3CECE47A1; Thu, 15 Nov 2018 17:17:01 -0500 (EST) From: Fernando Ramos To: dri-devel@lists.freedesktop.org Cc: David Airlie , Maarten Lankhorst , Maxime Ripard , Sean Paul , Jonathan Corbet , Alexey Brodkin , Boris Brezillon , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Gerd Hoffmann , Archit Taneja , Andrzej Hajda , Laurent Pinchart , Lucas Stach , Russell King , Christian Gmeiner , Marek Vasut , Stefan Agner , Kieran Bingham , Linus Walleij , Shawn Guo , Julia Lawall , Gilles Muller , Nicolas Palix , Michal Marek , Haneen Mohammed , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, virtualization@lists.linux-foundation.org, etnaviv@lists.freedesktop.org, linux-renesas-soc@vger.kernel.org, cocci@systeme.lip6.fr Subject: [PATCH 1/9] drm: replace "drm_gem_object_unreference_unlocked" function with "*put_unlocked" Date: Thu, 15 Nov 2018 23:16:21 +0100 Message-Id: <20181115221634.22715-2-greenfoo@gluegarage.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115221634.22715-1-greenfoo@gluegarage.com> References: <20181115221634.22715-1-greenfoo@gluegarage.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch unifies the naming of DRM functions for reference counting as requested on Documentation/gpu/todo.rst Signed-off-by: Fernando Ramos --- drivers/gpu/drm/bochs/bochs_mm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs_mm.c b/drivers/gpu/drm/bochs/bochs_mm.c index a61c1ecb2bdc..e6ccf7fa92d4 100644 --- a/drivers/gpu/drm/bochs/bochs_mm.c +++ b/drivers/gpu/drm/bochs/bochs_mm.c @@ -414,7 +414,7 @@ int bochs_dumb_create(struct drm_file *file, struct drm_device *dev, return ret; ret = drm_gem_handle_create(file, gobj, &handle); - drm_gem_object_unreference_unlocked(gobj); + drm_gem_object_put_unlocked(gobj); if (ret) return ret; @@ -454,6 +454,6 @@ int bochs_dumb_mmap_offset(struct drm_file *file, struct drm_device *dev, bo = gem_to_bochs_bo(obj); *offset = bochs_bo_mmap_offset(bo); - drm_gem_object_unreference_unlocked(obj); + drm_gem_object_put_unlocked(obj); return 0; } -- 2.19.1