Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7160442rwd; Tue, 6 Jun 2023 07:09:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6LszbenUV0cLFHoyd6xfSdFp4SeQiBoqhR4S8drcSGc5/v9IXW5T1uT5HynIZtWrPMkInd X-Received: by 2002:ac8:5a44:0:b0:3f6:b218:deac with SMTP id o4-20020ac85a44000000b003f6b218deacmr2595361qta.45.1686060580916; Tue, 06 Jun 2023 07:09:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686060580; cv=pass; d=google.com; s=arc-20160816; b=NloIOUJYcy0VIXAyd8D6mIsCS9TVUMqV8li/VdfY9D5o1fXldbGuy9OkuaC/5ZG2n3 SO9UBMgu7e3Gu43qe+j53tm4+oJo/QBsgfzUUlscssOzPCLuiMsIo70Ys8NICxNHaFQE 718sO5pvFqVU/EwSQ/FQi5Ov6OSYyUUMLTRTN1qC7eJOd7rzXL0JdbLwjAtiqTaIZ7Sy VL4rf4dmsigGqPFe9oIKjiRBOqfGvDyc4S7GvQt/AhF5RCc+FU1hygWtuIpHjmGsW78r odHs1+7PUeFVcLI5Enb3kc4i4nEHe8BbiBA/Jihv5zPKdL5qzl0fRoZlwu173Y1YecDF we7w== 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=ZeTAQnMstl6o6gzMB6r+R3fC0od+ep3sPbCDDY+xTuw=; b=fFkJf9KlZvECosuDOfJVLyilffpXiprzgs8U76dHTuh2DWEjpEovEVbVf2IYFbGMso W3JMGA71BlrFmfmI7YF/kPoSGgdZLDLR+pUJ0rj2aq2vSFyfNHe1+xAZaiy0BC+h+A6J ZwnwUKXzxAmypYz9ThEnasUIxmQc4OoF+weLsvhwJ79G6tf/gZMWv7OTguaO10P7Fwmp 3lRJPZ+PBsox1b/3OQGQS9ymyuPPuwvCcPUJjArLUbsi9zsNifru/98yMyJ8V9zHW8Ky X3m1Yj+PXTUjACZSJMNuNmPS0vF4+MFy0dwAMVSPojMErmajM3hydiLFaqsemtD/igWo 9yGw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b=vFrHNq3G; 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 e11-20020a05622a110b00b003dfda8e2b48si2484215qty.106.2023.06.06.07.09.25; Tue, 06 Jun 2023 07:09:40 -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=vFrHNq3G; 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 S236741AbjFFNWR (ORCPT + 99 others); Tue, 6 Jun 2023 09:22:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237661AbjFFNWO (ORCPT ); Tue, 6 Jun 2023 09:22:14 -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 B939D83 for ; Tue, 6 Jun 2023 06:22:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686057678; cv=none; d=zohomail.in; s=zohoarc; b=IsleUbvHQKYA75512M57S2nWuNFv9ftsopRs9T9/NiYPKF3N9+ktrfd3C+adSZQlKrSIkhRXiqWikxtqSMkcAwwAOGEs5uhiUpDaxBjIhgF5y/b1ySUWb67iSVLb2iiSUZ5WpNJieOJJWwflIiwseo1KyMebw2aFNISUzPYzBFI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1686057678; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=ZeTAQnMstl6o6gzMB6r+R3fC0od+ep3sPbCDDY+xTuw=; b=DYSPBvExNKK4Nmjk6tlXYnTepDs/K2/jsSUWyapusTjN8rmhUJ/T1GXRSwWLN4xB5ztp6uuDPy3kSSHy7njGVGICQZI1em0SXA+qW7oZs2psGlncRjNbOiTqXH4+BY7hQy1NUqf/drmZnZcINYsqj2bqAx+cR1kZIBHIj0kDeNU= 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=1686057678; 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=ZeTAQnMstl6o6gzMB6r+R3fC0od+ep3sPbCDDY+xTuw=; b=vFrHNq3GboGmNcLzTkJE0HXoO2mAu9L5wiB6X8eml1h1VF8vLzI9KeSDk6IFkI/K E2TlZ/Jhix8yX4cALfb6fAtqeoSRi9UjF2uWoIwojIMWyyThYE0W8K/1P1EOOamG9HG 9M9L57aTPelTmEwTFgklS+fQ1kkjowjmXrFGqNOs= Received: from mail.zoho.in by mx.zoho.in with SMTP id 1686057665971364.0299014993585; Tue, 6 Jun 2023 18:51:05 +0530 (IST) Date: Tue, 06 Jun 2023 18:51:05 +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: <18890de45a9.592cf481119039.6913148846210954357@siddh.me> In-Reply-To: <20230606125537.GC25774@pendragon.ideasonboard.com> References: <20230606125537.GC25774@pendragon.ideasonboard.com> Subject: Re: [PATCH v9 1/8] Revert "drm: mipi-dsi: Convert logging to drm_* functions." 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 18:25:37 +0530, Laurent Pinchart wrote: > Hi Siddh, > > Thank you for the patch. Anytime :) > Any chance we could prevent this from happening by turning the macros > into inline functions ? The next patch in the series almost does that, with a function introduced as Jani mentioned. The macros will call that function, so if the argument is not drm_device there will be error. Thanks, Siddh