Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7472525rwd; Tue, 6 Jun 2023 11:10:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Wv0eEXqeEchKHK6zuz3mEtEeblDkIYndxDoqDGchoO3Sdo4pT/Oa/BtKwuOlucqJz3/F6 X-Received: by 2002:a05:6a20:43aa:b0:10c:ff51:99bb with SMTP id i42-20020a056a2043aa00b0010cff5199bbmr545861pzl.20.1686075005843; Tue, 06 Jun 2023 11:10:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686075005; cv=pass; d=google.com; s=arc-20160816; b=zqKcodBJqYhc2IXRuhMzdMpjLsp4mLU9IwCVsqDfrVocmxNsedKABpOcm4u4Ngy4Dr 5e0jqjC3dDw/uTk9r0P0HgrzlWRV3UnVjHxxs++M5QbY+cY5pKWnP1LGiqSy7caLkikv zSIAtzjSL4xagDPyTN5Sa5qnwK0xB9mMdvTO+sDcSwlwm6SkAVPv7eiupIqXEgOb75zF TVuVfDOH+x2uT3KzhMSUwyI02gsYd8rGMQgEPI0ThygOIbVKEIpcFm0CScxr1bxizMcX fC9u86VV6PspEqGx2dcPXMtlTs2rKPLG3kyaAOLinwEqtD1UduOTjxyxjiiP9sdHt6Gr oovQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:importance:content-transfer-encoding :mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:dkim-signature; bh=Q/lg2cuY9NfgatGsJ+3rhXij7qz4ZMKGJ048y4n18ho=; b=gkJ6VFYx0b5cqKNfMZKkS93IITowQabw6vEUqnljJtQckx7jDa41dO8oOjeVRb9Sk9 C+17K23i4fxHOHJuk8ynwhmuIXfN0LtXpWvWaPkzkhiFcDQpgOQEMpqen43dgr31CHiv JREKuqu4eM50IVCstAN2bBHJWpDRIq5PmsyO6YhMrOFmfj99YQkfw9Cg2U0KY5XIA936 U2xAkDHZS+B87rTidu30h0XhLgaEVgje4wSMt0omGVZyJ4M8iY48C78DnRolUM3yRq4r UZTpoYBTMwonh8VBqBeuMLLTDwkjwc4t8cthluSGsFeam3zbGjbUmxbjlm51m07XHFVk rx7g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=cSGdymNu; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siddh.me Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y72-20020a638a4b000000b0053f1387ecfcsi7556322pgd.356.2023.06.06.11.09.52; Tue, 06 Jun 2023 11:10:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=cSGdymNu; arc=pass (i=1 spf=pass spfdomain=siddh.me dkim=pass dkdomain=siddh.me dmarc=pass fromdomain=siddh.me>); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siddh.me Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238753AbjFFRag (ORCPT + 99 others); Tue, 6 Jun 2023 13:30:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238772AbjFFRab (ORCPT ); Tue, 6 Jun 2023 13:30:31 -0400 Received: from sender-of-o51.zoho.in (sender-of-o51.zoho.in [103.117.158.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B17D11706 for ; Tue, 6 Jun 2023 10:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686072586; cv=none; d=zohomail.in; s=zohoarc; b=ZBSRFyICfOJrAcbRS5ORpYDf/ZvmdQpGrrec0bsZ2FJdcsyJXUE8xRytUpTsCX5SsMRW+E3s0SVhULHG30B0s4EWPxzmn1ieFbHo0b19RlltKA4xT6q/XIqrRMZGar+UV8NnSE9ph3gLGuNWHdoilXjYVz0bOuEN0WhL7BppfEY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1686072586; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Q/lg2cuY9NfgatGsJ+3rhXij7qz4ZMKGJ048y4n18ho=; b=ebPE5QpqZN3hB41JtLPa/Zw6XzxhKqADJq52bkLv3+INKbkNUVlTmheCpt8wGDid9s9EWOjYdamQ3dhd+FBH0p4VLoQX+sbUI8epXFkOGhGsRH0MVG6OfqV2TrIiHGoQ5cS5MJ4i+ddcxdLWWn+DMgi9IQ9Fcr21Y0re3S6COL8= ARC-Authentication-Results: i=1; mx.zohomail.in; dkim=pass header.i=siddh.me; spf=pass smtp.mailfrom=code@siddh.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1686072586; s=zmail; d=siddh.me; i=code@siddh.me; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=Q/lg2cuY9NfgatGsJ+3rhXij7qz4ZMKGJ048y4n18ho=; b=cSGdymNuimMWKCBoUWJU2pAg1Wutx0Tu3ZnqguRGfluPTAsaElSoix60vvHg3LJq DRW9y6u1r+VXHnktx7PhnELnoa7+V5PZwr7fvgrW122GbCEYqgDzi/UdlJT8q6o8PT2 A0sppKyz9AU5laiSKfPzx5KlEkgY6pvMHvb6RKfs= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1686072554600520.406666699926; Tue, 6 Jun 2023 22:59:14 +0530 (IST) Date: Tue, 06 Jun 2023 22:59:14 +0530 From: Siddh Raman Pant To: "Laurent Pinchart" Cc: "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Daniel Vetter" , "Andrzej Hajda" , "Neil Armstrong" , "Robert Foss" , "Jonas Karlman" , "Jernej Skrabec" , "Jani Nikula" , "dri-devel" , "linux-kernel" , "Suraj Upadhyay" Message-ID: <18891c17458.393a54b1127185.1502341592143085000@siddh.me> In-Reply-To: <20230606150545.GJ5197@pendragon.ideasonboard.com> References: <20230606150545.GJ5197@pendragon.ideasonboard.com> Subject: Re: [PATCH v9 0/8] drm: Remove usage of deprecated DRM_* macros MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 06 Jun 2023 20:35:45 +0530, Laurent Pinchart wrote: > This is a nice series, thank you for working on that. > > Now that the deprecated macros are used in drivers only, would it make > sense to move them to a drm_print_deprecated.h header, to make sure no > new driver uses them ? Sure, but then should that header be included wherever drm_print.h is included with a find and replace, to avoid breakage? Not every file can be seen at a case-by-case basis or by coccinelle as far as I understand its usage. Consider the following: DRM_INFO is used on line 210 of amd/amdgpu/amdgpu_acpi.c, but the file does not even include drm_print.h directly. It includes the amdgpu.h header, which includes the amdgpu_ring.h header, which finally has the "#include " line. If a simple find and replace has to be done, then that can be added at the end of the series. Thanks, Siddh