From patchwork Tue Jun 6 10:45:15 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: 103720 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3302422vqr; Tue, 6 Jun 2023 03:58:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6hdR8YL3/0e1SgmywowgQ1kduvnjwEfYfNsY7GhDZBhaK5a0ykTWE3jNUGEzFynvV9b8DM X-Received: by 2002:ad4:4eef:0:b0:626:1637:f58c with SMTP id dv15-20020ad44eef000000b006261637f58cmr2068854qvb.30.1686049119658; Tue, 06 Jun 2023 03:58:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686049119; cv=pass; d=google.com; s=arc-20160816; b=raxgchYIxXu4eiV2vA+xFBOfqaxswL4KQt1KERsVPDri2AVmYFPj/cUokUEGR88Rbx vvfZflJt8wgMmTAiUOU0TZgA92m7fYBIPaHPio6OxnBE2vDyGheDKZCNT7vA/2e4MXOY oYb4GUUc9I7QY0dTT+iL+SqTeurGPsbTMvwYkp8uDa+Dk5UACN12p7LQtZB66a+exINE KDtYeIFVw7/Y+W2jWEgO6WjOG9mFkv2gJdMiIck7UyBQMqyF55GWkDwCmTnTGL+88gxc uDPFQPBhPTlpWp7UrUNDejkbZoZB65K2hSXffGdfd/NBSbNqZKaUljDYEtGcDU4kmwHv zxNQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fo13-20020ad45f0d000000b006262e4d4293si6106384qvb.179.2023.06.06.03.58.26; Tue, 06 Jun 2023 03:58:39 -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 S237301AbjFFKsU (ORCPT + 99 others); Tue, 6 Jun 2023 06:48:20 -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 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,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767950641595686877?= X-GMAIL-MSGID: =?utf-8?q?1767950641595686877?= 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 Reviewed-by: Laurent Pinchart --- 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 @@ #include #include -#include #include