Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D25DC64EC7 for ; Tue, 28 Feb 2023 09:26:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230515AbjB1J0Q (ORCPT ); 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 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Content-Type: text/plain; charset=utf8 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 @@ =20 #include #include -#include =20 #include