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 DBE8BC64EC7 for ; Wed, 1 Mar 2023 09:44:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229737AbjCAJoZ (ORCPT ); Wed, 1 Mar 2023 04:44:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229677AbjCAJoX (ORCPT ); Wed, 1 Mar 2023 04:44:23 -0500 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F62710A94 for ; Wed, 1 Mar 2023 01:44:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677663862; x=1709199862; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=7nWm1f6bPfOKsLZiND0bxe7rNCn2HYYOED5hRyMYTto=; b=amgjS4bBk0UYZtL8hlgD2gDKZTDYMzq+RyQRqXOxMz/qJaOTJ3YOBHrk fxxXtmDsvpixhtARFm2BiEZb0MKRb9ePEb4mK4UiW7+2Em1kJ09mg6q9/ ss1poHogpKiuoXc3XI1IIWATyaUPkRbh1TYVr8vLaIyhKayTpLkDmApkr D3j5GMNRv8AvVYKlDod90tEApnJFKzu5dYQoWWwzSdfLhNzWFcIRXQy2R e5BYmxhB0hbljq7jhuIlNBhHGx0PiSyrYAAAnXqzzR8ASEJ36nja+HAhC H1i/TwDc1MTUjPVE4KcAx26GVDaFgugrvLFTpYRur1dKjmkgzGuiZ0jz/ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="322627866" X-IronPort-AV: E=Sophos;i="5.98,224,1673942400"; d="scan'208";a="322627866" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2023 01:44:13 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10635"; a="624419635" X-IronPort-AV: E=Sophos;i="5.98,224,1673942400"; d="scan'208";a="624419635" Received: from dsvarnas-mobl1.ger.corp.intel.com (HELO localhost) ([10.252.46.249]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2023 01:44:10 -0800 From: Jani Nikula To: Siddh Raman Pant , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jim Cromie , Sam Ravnborg , Suraj Upadhyay Cc: linux-kernel , dri-devel Subject: Re: [PATCH v8 1/8] Revert "drm: mipi-dsi: Convert logging to drm_* functions." In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: Date: Wed, 01 Mar 2023 11:44:08 +0200 Message-ID: <87edq8x0uv.fsf@intel.com> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Feb 2023, Siddh Raman Pant wrote: > 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