From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 494A3C433E0 for ; Fri, 15 May 2020 11:52:36 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16BEE206D4 for ; Fri, 15 May 2020 11:52:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="klT/eUcu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16BEE206D4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AAF4B6E14E; Fri, 15 May 2020 11:52:33 +0000 (UTC) Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5FDD46E14E for ; Fri, 15 May 2020 11:52:32 +0000 (UTC) Received: by mail-wr1-x444.google.com with SMTP id y3so3245596wrt.1 for ; Fri, 15 May 2020 04:52:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=DIr7ux6BE9jAIvX8sDUWPdJPykX6F+2iyiamRKA14JQ=; b=klT/eUcudtyWByI6bfjzT4W0iUL3XpRmGZwKnn3o3Y70HiSN0UaHLMdm9j8YfxeyWj aQtek1qBSZVd1khfjyB3C7r+34KlREzVvrOaF/uP3p6Z+gFMc+qWvQ0R3O10QePbaVin XNXPhSgBs5uJdyVKl2C1ti5k9ROLNRdYwuUg5AGqp4ADFl0TPjlnD044DTORdqwQRkvC 01XZQhJItZkUPCJhCFNesu2HuCrAt1k3RgrWFhy8lkru3JCaiJTpsBmEDeJrWAaBpE/p BZsVifq3IM+LSiL6yUvNFRJQil6pX8vCY7sJJiCrPv+nWw/J0oh2n+U+3783kWeRDDbm Vo+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=DIr7ux6BE9jAIvX8sDUWPdJPykX6F+2iyiamRKA14JQ=; b=CFOoADJaZkOcMVqxscrwLh8LSqZliY9JB3iFVzNrfNG93DVH5YvL1ajCv1Bf+D7eKD 454sx+yTjSgWOWLRv/2VbKn5MD8zX/u6GphV7K9V91mfnG/muNbgrdiwMXbDZUkXAWbo nDrWlkdhjA97Cbf3yGk0U/n+MU8cqC8gbPe0y1HCtxh7P5h0HUfLWjgoxd6b7npOj3gQ ciwtt1t9l65eWzO5iW5o9NMqgVjfrMBJNdgPQBwHw2OEj29cMA2SU/FE9lzCYcV+uc55 2YpyD3XemWl1Jf7KtD6jRa1F2g3JkZZQmelNz2aVVG0KMU5FXrwKckGgdCkLVMO7bis+ cbkQ== X-Gm-Message-State: AOAM533cYpgFX6JeOPLMaSf7q/ygUWzrrQ2nIGCYNAGyrjnVbZ1Xspg0 L4jmMgpxAD0TLeSZUjtjTMzLImFm X-Google-Smtp-Source: ABdhPJwQT3aFJ3dRQDIjDDPscRayuoa7JwHr55btCfi7kpufYT4k9Ip73t50WLGSDrbzfrPG8cL3rA== X-Received: by 2002:adf:face:: with SMTP id a14mr3813896wrs.397.1589543551068; Fri, 15 May 2020 04:52:31 -0700 (PDT) Received: from localhost (pD9E51079.dip0.t-ipconnect.de. [217.229.16.121]) by smtp.gmail.com with ESMTPSA id 1sm3319506wmz.13.2020.05.15.04.52.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 04:52:27 -0700 (PDT) Date: Fri, 15 May 2020 13:52:24 +0200 From: Thierry Reding To: Emil Velikov Subject: Re: [PATCH v2 31/38] drm/tegra: remove _unlocked suffix in drm_object_put_unlocked Message-ID: <20200515115224.GA1381339@ulmo> References: <20200515095118.2743122-1-emil.l.velikov@gmail.com> <20200515095118.2743122-32-emil.l.velikov@gmail.com> MIME-Version: 1.0 In-Reply-To: <20200515095118.2743122-32-emil.l.velikov@gmail.com> User-Agent: Mutt/1.13.1 (2019-12-14) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , dri-devel@lists.freedesktop.org Content-Type: multipart/mixed; boundary="===============0571720165==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" --===============0571720165== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fdj2RfSjLxBAspz7" Content-Disposition: inline --fdj2RfSjLxBAspz7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 15, 2020 at 10:51:11AM +0100, Emil Velikov wrote: > From: Emil Velikov >=20 > Spelling out _unlocked for each and every driver is a annoying. > Especially if we consider how many drivers, do not know (or need to) > about the horror stories involving struct_mutex. >=20 > Just drop the suffix. It makes the API cleaner. >=20 > Done via the following script: >=20 > __from=3Ddrm_gem_object_put_unlocked > __to=3Ddrm_gem_object_put > for __file in $(git grep --name-only $__from); do > sed -i "s/$__from/$__to/g" $__file; > done >=20 > Cc: Thierry Reding > Cc: David Airlie > Cc: Daniel Vetter > Signed-off-by: Emil Velikov > Acked-by: Sam Ravnborg > --- > drivers/gpu/drm/tegra/drm.c | 12 ++++++------ > drivers/gpu/drm/tegra/fb.c | 6 +++--- > drivers/gpu/drm/tegra/gem.c | 4 ++-- > 3 files changed, 11 insertions(+), 11 deletions(-) Acked-by: Thierry Reding --fdj2RfSjLxBAspz7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl6+gm0ACgkQ3SOs138+ s6HtsA/+KEWpfKLHvHEGx0XuniKhR/OWFHLWhXhC8Vaf6HCYrkbQRd2/bYSGqOx2 d7EFTjWfZiSES7Pkix0r0y5aBW1bHSZhisR6YwQIvHg02omDUEFrHKPUrveuMZU8 JpUJTGnYuM7AreLdZ5fqvZEV4C8pvB3JBxWRQWzDRCPuR9heBQZ1h349dsBRxPRj jjk1TABlvL/Tarwxwbe8WFbpiNC/FSNd8ve4pSYcmk5AvjP+P7ksAB+N8KaX/cMf 0plOMVoEwh/LsAtNjn4R5SEsGnNFkNsRZwAQy4hjadOqG1Wn0321PNql28FKZopH GrkL99WkLHtxkG7BO5ADylLjCSHYr3rA9bvdV3St6yu1NYnuL8vz04rG7ilrQAJZ qzP1Os0euYTABOfhe2GnjyVLH/WwMDybLnD/1bzo+N/hjHqbKEO3wCorRRZPJnfg f4fIdma/wWg8cBnOKx2W4/o0hu9yuAmhxsVJZb5L+MPBLr/EFu/lhf/81PRw6+EJ EDrlubpzR0ztn8JZEx2afHWNVvtQnK4kwM416g99gPQgXceS/SjglAPSeDv+SExs 1ZQuMKmmuGWYsA8rbZnxXVWQtK0xAXkpYsHx8dJwYrhgGrPwMfnumt5QEZ/xF82r lIPw3N8VTQTle09J+G1ZLcC5InZe67QhCWchWJnzcbC9DerouWs= =B91K -----END PGP SIGNATURE----- --fdj2RfSjLxBAspz7-- --===============0571720165== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0571720165==--