Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6918161rwd; Tue, 6 Jun 2023 04:02:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6XKODg7CnJJJsNBjvvxHggCL40xdSosg2N4v3I/WKUD1d7ojAc262Lw8Of/xGhWNW6WTCf X-Received: by 2002:a37:4682:0:b0:75e:b9c7:46d7 with SMTP id t124-20020a374682000000b0075eb9c746d7mr1377041qka.21.1686049344645; Tue, 06 Jun 2023 04:02:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686049344; cv=pass; d=google.com; s=arc-20160816; b=VgEkewn8oscs0s9KwNDoeNEPDGHUAnj0bsmHzgbxx60OF1gm2ZhHYDCKw4v43l6oG+ p9TcY7n2yVEGTTzZ2iWldt9fzbLOoW/WvJxYfZ9pvnLCrAtTaH/3CTWhtj6sH4vO46HA iQkCq1CgPyeTTbuO8mMDzpfQDb34sxp9soBmJg71UVAp3dpIzmz97mUYl9eBCUnWj/9N TYdjzLww+9S3CorrBTM66LlZYK8zln6aBXWObolZYF2M4Ch58dQxnm4mi+jqer03ZeJg yiXFTwgjtQ6COp1aJVWwcP1k5pwQOwB4HMqT8tKcTpSgEztHC87V0/EAxwHYg0PWfynq GX1g== 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=PEHqKnuOJrKl1u5nUwlpoAtIMJXyDd2fpZkEHcGqRl0=; b=053n373psX2uFPcLYUJmmomG8SCZVsCEi5s6GAHNlHrI4DmQQ/kO2qkd5AluRb/MSs m/x7IEMewhy45MAl8pZb4YCnjHUPey4GjaKTtUMRsmmMXpDAHgyo4u6dQ2nuR25E6C6E Al+OFB2AmZc7xaXDYdJaCOMd5eH5Xz4+RM75I8gHjD/yZh28XyLW1vTHVpwMnHe5VgLX OF8SVRMCuKoRbwcw6wnXNRc9ELUQYunCxYrgSEwpv2RLw1I4rgVn3oWFC6UY6SFbHYuz TnH3NcZSetL/emT3EHxRAHimxEgDLF00COOfJOL7ZeqeCeknqOwZPDGIN2oXUVR+qbeL F/kQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@siddh.me header.s=zmail header.b="llf/bAID"; 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 p3-20020a05620a132300b0074a8ab7b4b2si5685609qkj.142.2023.06.06.04.02.10; Tue, 06 Jun 2023 04:02:24 -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="llf/bAID"; 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 S237287AbjFFKsS (ORCPT + 99 others); Tue, 6 Jun 2023 06:48:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233095AbjFFKrd (ORCPT ); Tue, 6 Jun 2023 06:47:33 -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 C6B64E55 for ; Tue, 6 Jun 2023 03:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686048331; cv=none; d=zohomail.in; s=zohoarc; b=HJfp1jjV8pp9vs+t7hkwlG9Kx7BVZ9Ap5d9rQdvYyFfb7Kq3uLK9oST2JFa3l85m6KUkm404jkKGA4o+GJdXiNFs4Td9q0NSt+Mag+by5fk7FP7+2sF35APG+De5dH6JbmBk9VBclXka94G/yxQOTgmfinHYfGRSQuWESHsfQF4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.in; s=zohoarc; t=1686048331; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=PEHqKnuOJrKl1u5nUwlpoAtIMJXyDd2fpZkEHcGqRl0=; b=G2zYTmDkp1DpJ6WkrFOlYuu6/mzKeJEhC2WDRe+DwkgIxxyeBQSGaq1VSc1/smr59ktVSUxcIA5IaScHW50DUutvePwqDRVJuixFlCbM24+aVmQ22sVLkvZ5DN/j7Q+MoVZVB8Wd1X84vSnFaAHYR79k3LH0/fVsK0aNjNdsCEw= 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=1686048331; 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=PEHqKnuOJrKl1u5nUwlpoAtIMJXyDd2fpZkEHcGqRl0=; b=llf/bAIDtg5lnjKluqj8OoIZREW1I2t1CIjsq3lprL6CbboN02J2KMBqL0HdkJyr DZUKvtJIZcBnlClaiQfD/fY9WihIr8RptYvEgK+8HN1cElEKdrjGpH1GcZQuygUZMxS 9fB48hGa6VHgLakeyYHX5z3mVrAo4Uln9fUvw62I= Received: from kampyooter.. (122.176.141.156 [122.176.141.156]) by mx.zoho.in with SMTPS id 1686048328461439.7904058464494; Tue, 6 Jun 2023 16:15:28 +0530 (IST) From: Siddh Raman Pant To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Jani Nikula Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Suraj Upadhyay Message-ID: Subject: [PATCH v9 1/8] Revert "drm: mipi-dsi: Convert logging to drm_* functions." Date: Tue, 6 Jun 2023 16:15:15 +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 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 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 Reviewed-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 3fd6c733ff4e..a37af4edf394 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