Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1222891ybb; Thu, 28 Mar 2019 23:33:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqz3Kz9j2IFtadiCp47ehDrV/8X89RtotfEM922yC3ZD3sBi4HKF2fnrF3rV4DAxLY/4Fj6L X-Received: by 2002:a63:8143:: with SMTP id t64mr45057270pgd.301.1553841206925; Thu, 28 Mar 2019 23:33:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553841206; cv=none; d=google.com; s=arc-20160816; b=GiOVl5539gb28eR+UXMpBVMjLHizDq1khBp/Pb76DNDzt0dLj1W7noKnxCiMmPZliW 8lyUsbdXDvGodh0LfJpIujIrLDShKRDaAFAkbSVzWahw2uGrtO0+Gbkf/6n3fkDN9dPV U9g1InH6/YweNN3H4C+EYHegt9zrTtQzwYu9qso/6gH9yOcfdaZqOYPUoEkp+JYlI2IW VTNEelV2/TTjt+L8KJ0bjOTkadUpHxDpq7MLGnYppsgDNMkiMNQwmAO/qTSQR/WQes2d gaO89iN5j+zHARYCap9qFVCCYm7oTuV8G50YlvNvVGq7FAsMAj62Ldm704PYP2of+VNr 90Tg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature; bh=cTURs4tG3wbGibthBdm4zOv2VpepYEWe8VZyn2pbEHM=; b=rwNFkXXVv5e9TxiH/+CMLshblnLonjOOuK/Iqt0bkXcRkWyLNaPImCUvAykd8crSWI uwpUK3TfWq861W24LPYtIPmkvV2891Eo4bmznYe4Q/hxnjb1D2mLlDatuU6HyM7X1T2j u7zFXPTTC/DjVYdPyziVJtuPPB3vNsZsnHHJywyOcTYLTk5o354ibUMY3urCFKYoYFaX I46HkKoh4usRbEAI8J+/6OemDgmwRq4vCLivoeMPAkcPxTJSg8tXZoyttZaoWfiFpl/T sp5+MEJEPhh8QVFjLxKodXIbLLj2WHpO5wHvUqBRyIN7OTPDqH5Kpbw/L37BoHPpuJvW EJzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=DCJ4BiZ1; dkim=pass header.i=@codeaurora.org header.s=default header.b=FMfhw8wB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q16si1228199pgk.405.2019.03.28.23.33.11; Thu, 28 Mar 2019 23:33:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=DCJ4BiZ1; dkim=pass header.i=@codeaurora.org header.s=default header.b=FMfhw8wB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728719AbfC2Gc3 (ORCPT + 99 others); Fri, 29 Mar 2019 02:32:29 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:34004 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726999AbfC2Gc3 (ORCPT ); Fri, 29 Mar 2019 02:32:29 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7FBC0608CC; Fri, 29 Mar 2019 06:32:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1553841148; bh=U9JolyigyoUdXwTTKNcmJjEBXaM8kw3G/V+EhjwJlVE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=DCJ4BiZ1WWPSFIsQSMkqF49d4DKnDHcmggmDsv/L1lOEpyKQllpl+tnQ8UDT7mrMc PqcZxndAcVR+EFtcW8UVznE2FHoNdZy3X38LkfpDljcRUqeGmbxhUROsjlItCRdOuB NTDmeZlufDryF5RsGV8UnuAVLcpF6FWikpIAv71c= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.204.79.83] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mojha@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4F29A604BE; Fri, 29 Mar 2019 06:32:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1553841147; bh=U9JolyigyoUdXwTTKNcmJjEBXaM8kw3G/V+EhjwJlVE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=FMfhw8wBhocN8ySZZAujcMYNzHA9ibJfrIR9/clHj4/HJYRfIF8Mxioh8FQ3KE302 1xXPosMOyj0O8EV/gAPOoU8ogp3S1jTKKLUjRO5oTjvwHfz147zt7BSJWzH5AgzsWv a/OfYXtHmzl3vhYriZED8j9DGBPXz73nt5g1C9yg= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4F29A604BE Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=mojha@codeaurora.org Subject: Re: [PATCH v2] gpu:drm: Remove duplicate headers To: Jagadeesh Pagadala , Laurent Pinchart , a.hajda@samsung.com, airlied@linux.ie, daniel@ffwll.ch, jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, rodrigo.vivi@intel.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org References: <1553721116-37832-1-git-send-email-jagdsh.linux@gmail.com> <20190328065124.GB4846@pendragon.ideasonboard.com> <20190328160206.GA94653@CentOS76.localdomain> <20190328141210.GA4813@pendragon.ideasonboard.com> <20190328190203.GA27353@CentOS76.localdomain> From: Mukesh Ojha Message-ID: <65ce06ec-32b7-c662-ef4d-9ee9d1315e5a@codeaurora.org> Date: Fri, 29 Mar 2019 12:02:19 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190328190203.GA27353@CentOS76.localdomain> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/29/2019 12:32 AM, Jagadeesh Pagadala wrote: > On Thu, Mar 28, 2019 at 04:12:10PM +0200, Laurent Pinchart wrote: >> Hi Jagadeesh, >> >> On Thu, Mar 28, 2019 at 09:32:06PM +0530, Jagadeesh Pagadala wrote: >>> On Thu, Mar 28, 2019 at 08:51:24AM +0200, Laurent Pinchart wrote: >>>> On Thu, Mar 28, 2019 at 02:41:56AM +0530, jagdsh.linux@gmail.com wrote: >>>>> From: Jagadeesh Pagadala >>>>> >>>>> Remove duplicate headers which are included twice. >>>> Could you, while at it, also sort the existing #include statements >>>> alphabetically ? This should help avoiding similar issues in the future. >>>> >>>>> Signed-off-by: Jagadeesh Pagadala Reviewed-by: Mukesh Ojha -Mukesh >>>>> --- >>>>> drivers/gpu/drm/bridge/panel.c | 1 - >>>>> drivers/gpu/drm/i915/intel_display.c | 7 ------- >>>>> 2 files changed, 8 deletions(-) >>>>> >>>>> diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers/gpu/drm/bridge/panel.c >>>>> index 38eeaf8..eb9567d 100644 >>>>> --- a/drivers/gpu/drm/bridge/panel.c >>>>> +++ b/drivers/gpu/drm/bridge/panel.c >>>>> @@ -15,7 +15,6 @@ >>>>> #include >>>>> #include >>>>> #include >>>>> -#include >>>>> >>>>> struct panel_bridge { >>>>> struct drm_bridge bridge; >>>>> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c >>>>> index ccb6163..1166342 100644 >>>>> --- a/drivers/gpu/drm/i915/intel_display.c >>>>> +++ b/drivers/gpu/drm/i915/intel_display.c >>>>> @@ -51,14 +51,7 @@ >>>>> #include "intel_dsi.h" >>>>> #include "intel_frontbuffer.h" >>>>> >>>>> -#include "intel_drv.h" >>>>> -#include "intel_dsi.h" >>>>> -#include "intel_frontbuffer.h" >>>>> - >>>>> -#include "i915_drv.h" >>>>> -#include "i915_gem_clflush.h" >>>>> #include "i915_reset.h" >>>>> -#include "i915_trace.h" >>>>> >>>>> /* Primary plane formats for gen <= 3 */ >>>>> static const u32 i8xx_primary_formats[] = { >>> From c9a68b204fe4bb013c2b8481ca8239c957dd69cc Mon Sep 17 00:00:00 2001 >>> From: Jagadeesh Pagadala >>> Date: Thu, 28 Mar 2019 21:20:12 +0530 >>> Subject: [PATCH] gpu:drm: sort the existing #includes alphabetically >>> >>> Hi Laurent, >>> >>> Hopefully this helps. >> It does, thanks. If you squash it with your original patch and send a >> v2, you can add my >> >> Reviewed-by: Laurent Pinchart >> >>> Signed-off-by: Jagadeesh Pagadala >>> --- >>> drivers/gpu/drm/bridge/panel.c | 2 +- >>> drivers/gpu/drm/i915/intel_display.c | 4 ++-- >>> 2 files changed, 3 insertions(+), 3 deletions(-) >>> >>> diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers/gpu/drm/bridge/panel.c >>> index eb9567d..000ba7c 100644 >>> --- a/drivers/gpu/drm/bridge/panel.c >>> +++ b/drivers/gpu/drm/bridge/panel.c >>> @@ -9,11 +9,11 @@ >>> */ >>> >>> #include >>> -#include >>> #include >>> #include >>> #include >>> #include >>> +#include >>> #include >>> >>> struct panel_bridge { >>> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c >>> index 1166342..7956e89 100644 >>> --- a/drivers/gpu/drm/i915/intel_display.c >>> +++ b/drivers/gpu/drm/i915/intel_display.c >>> @@ -46,13 +46,13 @@ >>> >>> #include "i915_drv.h" >>> #include "i915_gem_clflush.h" >>> +#include "i915_reset.h" >>> #include "i915_trace.h" >>> + >>> #include "intel_drv.h" >>> #include "intel_dsi.h" >>> #include "intel_frontbuffer.h" >>> >>> -#include "i915_reset.h" >>> - >>> /* Primary plane formats for gen <= 3 */ >>> static const u32 i8xx_primary_formats[] = { >>> DRM_FORMAT_C8, >> -- >> Regards, >> >> Laurent Pinchart