Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp799552rdg; Fri, 13 Oct 2023 01:04:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrMl/c9IND7PIrGHH8jAxrUAJbIoLJCrHvydb7NEN+ZBL/aZ5GpIWL8T4dn2PMzQCOlCkW X-Received: by 2002:a05:6a20:3c9e:b0:13e:90aa:8c8b with SMTP id b30-20020a056a203c9e00b0013e90aa8c8bmr34506438pzj.4.1697184293842; Fri, 13 Oct 2023 01:04:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697184293; cv=none; d=google.com; s=arc-20160816; b=sDce5xrUmyGKxN3zMQStvsLm0yitvU5K8QXAgIiEChcPShlDkni+E85FcVlHaKaKgR aDQYl2j1BnF3wzt5bSFtjuv+HOMRnrHcgpQZppw/fDVvgJUCiif40LvhIlR92TGKEFkX k+2ciIqaCC+BxqxfVktEjn/ubnQh93AjO5fTuOm3kRy3gLxnBedNpTSLkTbwfs6yDqdC 8uHIpokeUvm6W81Bg41ufEJsUKBDU/BUn6GxJyAcom9/AvLe+VOW1/BlFZ0IL9Gy4oXo teKsihfiGgic6vFdJHSPdWe+oowQvLs476hBJMcvLfLR5yAC31CGREzVLBpC1ZqlluhW 674g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=Ohgij5E+PvUqjMSHQJ6L2oL/G6i7avCqV0x3pnmW/WI=; fh=Yy98BciqyQVXl36GF5EbjhP7TTTy+LC9rySJREgGkB8=; b=EQcBQADi4BH86mRuTohThyPbdDt1P3UfFH9cBji8zVarJhHTUdn8F2Q1MDD4Bq3ead Ksw/AXxBhnJjQWXfmtCiuiBA63K8jzIrG2nAZ3n3V1vmFqsJ1HBnwZlSX+j7bf5pMm+4 OwBSMcaMcRo5XlDPHWahKA1OmZ6qS0Rn2iLMGoBzQ5M9vh96Z9VA8g6PgUGz79fBmHtX ClePC3UXYsF/lRLoTfl2oVQrgLcXVmijm00TEq4kSajia1tsxaboFk3nmchk+WPeYGNt E/tf3Wgs3VwdBoGt8+EBd2jMjedBlzDiClrebup+gg5789iD5WoxKfWIQ29gBJZFZYg6 YtnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id bq10-20020a056a02044a00b0057759a5b7ccsi4971701pgb.305.2023.10.13.01.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Oct 2023 01:04:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6D086829EA1E; Fri, 13 Oct 2023 01:04:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229989AbjJMIEp (ORCPT + 99 others); Fri, 13 Oct 2023 04:04:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229884AbjJMIEo (ORCPT ); Fri, 13 Oct 2023 04:04:44 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F0E2AD6; Fri, 13 Oct 2023 01:04:41 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0018E11FB; Fri, 13 Oct 2023 01:05:21 -0700 (PDT) Received: from [10.57.80.116] (unknown [10.57.80.116]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7F73E3F7A6; Fri, 13 Oct 2023 01:04:40 -0700 (PDT) Message-ID: <763f1d6d-28f0-43a7-b537-1a3229987ea3@arm.com> Date: Fri, 13 Oct 2023 09:05:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] thermal/core: Reorder the headers inclusion Content-Language: en-US To: Daniel Lezcano Cc: Amit Kucheria , rafael@kernel.org, Zhang Rui , "open list:THERMAL/POWER_ALLOCATOR" , open list References: <20231012102700.2858952-1-daniel.lezcano@linaro.org> <20231012102700.2858952-2-daniel.lezcano@linaro.org> From: Lukasz Luba In-Reply-To: <20231012102700.2858952-2-daniel.lezcano@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 13 Oct 2023 01:04:50 -0700 (PDT) On 10/12/23 11:26, Daniel Lezcano wrote: > The next changes will move the thermal device structure inside the > thermal core code. Consequently, the traces must be included after > thermal_core.h as this one contains the thermal zone device structure > definition the traces need. > > Reorder the inclusions. > > No functional changes intended. > > Signed-off-by: Daniel Lezcano > --- > drivers/thermal/gov_power_allocator.c | 6 +++--- > drivers/thermal/thermal_core.c | 6 +++--- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/thermal/gov_power_allocator.c b/drivers/thermal/gov_power_allocator.c > index d1c6ad92e5b4..6056ed15460b 100644 > --- a/drivers/thermal/gov_power_allocator.c > +++ b/drivers/thermal/gov_power_allocator.c > @@ -11,12 +11,12 @@ > #include > #include > > -#define CREATE_TRACE_POINTS > -#include "thermal_trace_ipa.h" > - > #define THERMAL_CORE_SUBSYS > #include "thermal_core.h" > > +#define CREATE_TRACE_POINTS > +#include "thermal_trace_ipa.h" There is a small issue here to fix: Applying: thermal/core: Reorder the headers inclusion .git/rebase-apply/patch:21: trailing whitespace. #include "thermal_trace_ipa.h" warning: 1 line adds whitespace errors. Other than that LGTM Reviewed-by: Lukasz Luba