From patchwork Tue Feb 28 09:25:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Siddh Raman Pant X-Patchwork-Id: 62358 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2910199wrd; Tue, 28 Feb 2023 01:27:31 -0800 (PST) X-Google-Smtp-Source: AK7set88Hn6IKRr8w03/PgpkkCWTzf8+bWBnzE6b61icWlfsEiG/kwVR1gFVatkWM4kKjtUQD2Xu X-Received: by 2002:a17:906:5a72:b0:8b1:32b0:2a24 with SMTP id my50-20020a1709065a7200b008b132b02a24mr1692656ejc.47.1677576451094; Tue, 28 Feb 2023 01:27:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677576451; cv=pass; d=google.com; s=arc-20160816; b=pbpU3GlwUfJvvYQdDKgSu5k5yc2rEcXZ3qyPbrKbEfG1dMqbOrmFyPDW3tJ//1ETGt 5r4tKLX0dRkoRTJwwRb51Dx5Xu+ptIQeSeIAyDBiN8K97TO4jUatr40rrwxJ9YWQw03D N7wej+QHYp4knHWGBkvyOt1L6J09xSzKFdGVxFaOsB0fWYF3IOmk5oEBG+ImhCwODNnq sXG/jmifSZufSpgiX0QjEtjZfBTjveGmzh69rnF11jxSaOic1H5593h9qLYmoNk9jNkD NiSOU1Kq169aPBqxGflr5yZCkO4JcFN06Iq2ZRPkhxbnzjDOPRncYrP1OrAZOc3IWxGm yPRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:subject:message-id:cc:to:from :dkim-signature; bh=Y64ntFBkLjZ0E6rkb81rQzfqJquSTywmmGSYOvhB7GY=; b=cCN73QHzWTz+O1K1y3CvOKh//vdvPzxJMrOisajpAQsA0GETcrIhJx7oQX7AMwCMXa y+jD54X7FPWs5geFnC7O6u+xWVyXQ7wDHVgCv0ExCUW2zA/YO6na7pDfDhnW0Q2PvD98 2FK9aOVEymsEOJBzAe5Bvnyb3H4E3iIfHepbCkfx8qkDn/dG1RaizdMDkeqG4yKVGf/m Uj33n2bqj/nehJzMaY1lqH98zcKjE0pI9fYgs16O21RlMV8BeQDPk7UUHTmyf8Dy2i40 PYU9BifzG0kf+C7Hj+A3VN0R3hfxrYW5EodIrbaa4zl91IcQSxybMAf4wN7W+0VCmL1x eiHg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b="j+z7h/Mi"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gx2-20020a1709068a4200b008d5cd760cb6si10724391ejc.428.2023.02.28.01.27.08; Tue, 28 Feb 2023 01:27:31 -0800 (PST) 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="j+z7h/Mi"; 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 S231278AbjB1J0Q (ORCPT + 99 others); Tue, 28 Feb 2023 04:26:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230299AbjB1J0N (ORCPT ); Tue, 28 Feb 2023 04:26:13 -0500 Received: from sender-of-o50.zoho.in (sender-of-o50.zoho.in [103.117.158.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9DEA12A16B for ; Tue, 28 Feb 2023 01:25:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677576324; cv=none; d=zohomail.in; s=zohoarc; b=asf91VN0x3p5nULdmL/FkbpAhbeCcQ3j1OAe4D7xjncbfp1g1P9a77uFRFBzq/0kUyXzVkuAS22VEfTI3HnHeMo5CxpFUvIB5FeQYo27R2UcXSomBbxQLwbBOfS5s/JSTZfAIARHhzD0j5qdiTseGvr8RHioOIFA96lL9ptnnG0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1677576324; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Y64ntFBkLjZ0E6rkb81rQzfqJquSTywmmGSYOvhB7GY=; b=LyrHaJrK0Sfqtp0k1FNSKORFic63H1oKelEeRx17MoE6YBMCUquapA/RlTQgecN1u5qreyd8DOkuzDTjm4pvbkiVb90BdX2wxJCEeGt/TCyKL1vqJ8O1+DTZdec+K7bner6l35R0UPB3Pjztu1naYI/Lyvx4PdlXp/OZYqFI/Qc= 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=1677576324; s=zmail; d=siddh.me; i=code@siddh.me; h=From:From:To:To:Cc:Cc:Message-ID:Subject:Subject:Date:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=Y64ntFBkLjZ0E6rkb81rQzfqJquSTywmmGSYOvhB7GY=; b=j+z7h/Mi3UhM8W7gOoW9S9Q397QHwUAP4Orm9BtMY58zCcW7FDIXcIu38UTa2PnF wEJxd/gQosx4ftOZ8kLc9m93yc54rc3mJO4LcJeq+oPsgQwg2hjxkzB0IBf7Vl4HYn6 Kn9xMtxu2XDnfAUOSKmGhbvw9V2SvIK0SBVt2y8Y= Received: from kampyooter.. (106.213.255.81 [106.213.255.81]) by mx.zoho.in with SMTPS id 1677576322236206.29584254968302; Tue, 28 Feb 2023 14:55:22 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jim Cromie , Sam Ravnborg , Jani Nikula , Suraj Upadhyay Cc: linux-kernel , dri-devel Message-ID: Subject: [PATCH v8 1/8] Revert "drm: mipi-dsi: Convert logging to drm_* functions." Date: Tue, 28 Feb 2023 14:55:05 +0530 X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 X-ZohoMailClient: External 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759066405263197868?= X-GMAIL-MSGID: =?utf-8?q?1759066405263197868?= This reverts commit 1040e424353f5f4d39f6f3aa8723eb3bd6ea6446. It used an incorrect way to use drm_* functions. Only drm_device ptrs should be passed, but the mentioned commit passed mipi_dsi_host ptr. It worked by accident due to macro magic. Reported-by: Jani Nikula Signed-off-by: Siddh Raman Pant Reviewed-by: Jani Nikula --- drivers/gpu/drm/drm_mipi_dsi.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/drm_mipi_dsi.c b/drivers/gpu/drm/drm_mipi_dsi.c index 4bc15fbd009d..398fac95dfc0 100644 --- a/drivers/gpu/drm/drm_mipi_dsi.c +++ b/drivers/gpu/drm/drm_mipi_dsi.c @@ -33,7 +33,6 @@ #include #include -#include #include