Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5044512rdb; Tue, 12 Dec 2023 18:07:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4d0o3/kUalXrq48P90fMw8Q4h+OakwuMwegmoY+HzjkXLwnwztTPE5UYGNBXA8A0gdhXl X-Received: by 2002:a05:6a21:6da1:b0:18f:97c:6142 with SMTP id wl33-20020a056a216da100b0018f097c6142mr10056154pzb.63.1702433233839; Tue, 12 Dec 2023 18:07:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702433233; cv=none; d=google.com; s=arc-20160816; b=0EM2CtvEJuHEMH9aCanFSg8qWeIBHkwQ3c/P3jrMfq0waGINPd9nriUChmlGEvC8re 2Oe6uKAbdCoGGOXPkK78kBCr7XbI/2/1wHkjNw4WIaaMOqrkkiV8vW/bu2VV8qjUClUb Mhmy+HGbZLHYqEEM8NHd/WdWgSdrXGU/c5C3U+f7Ik4FQbonbNKnSiap6B4YdBFCRa4O StmXvIpW1bluS5HHS/+PYPEouhTxryEiCLbnbgkVwyQfUEs3QQPw0f2gRYk/WDk1eGli zxEAcZxlRLA+yuynbpqTmYfbQ5S3I0lQw2qOkiKAqIGusFp9l0wzPK/D/QrcStZm2fKO GCpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=1uRuNCx90kYYAdjyP9An9XF6jGyezL9B66gSNTj66iE=; fh=tKD+GSCxt/26ACNsOVSi79NZ6bsY6ZMnZhyZK3iMXMw=; b=YBxFo/3GNp3vjAfyGa7GgbpGTEBQDJjHjzABG48NKFtT4nz4o2u584UeRCSJ0NVi9C fGNLGh18HxSax4OVSk+OWA+ni4ErsVPKhiDkksPfAzm6JX/QyjDUAJEBcLRf+2LhHHzW AWaKmhBuV2567D0NPjiPv3WkSzwJtNcdFdfB2xXKKshEA6ebNVSSZnmhQXTUFcCAuXvM I2ERt7hud5K8EFwMAfsux96ecgOG5SHgj8+1Zl6HDilgBj4Xs21JUgNUIAwz9CeMxuuh mTqEld3BkYIQ7W8USavxRNbuDsfNF1oK6ZpZ3BS+ZBXcJy9sL8sRbOdHLHjCiOegqLW9 YRZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id o64-20020a634143000000b005c66c22569csi8793803pga.17.2023.12.12.18.07.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 18:07:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id EB3DA805197E; Tue, 12 Dec 2023 18:07:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378244AbjLMCGy convert rfc822-to-8bit (ORCPT + 99 others); Tue, 12 Dec 2023 21:06:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235180AbjLMCGx (ORCPT ); Tue, 12 Dec 2023 21:06:53 -0500 Received: from out30-97.freemail.mail.aliyun.com (out30-97.freemail.mail.aliyun.com [115.124.30.97]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBA2BAA; Tue, 12 Dec 2023 18:06:58 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R151e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=guanjun@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VyO8iev_1702433215; Received: from smtpclient.apple(mailfrom:guanjun@linux.alibaba.com fp:SMTPD_---0VyO8iev_1702433215) by smtp.aliyun-inc.com; Wed, 13 Dec 2023 10:06:56 +0800 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: [PATCH 1/1] soc: qcom: Fix compile error caused by uncorrectable definition of TRACE_INCLUDE_PATH From: guanjun In-Reply-To: Date: Wed, 13 Dec 2023 10:06:54 +0800 Cc: neil.armstrong@linaro.org, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <3C315830-A476-4B85-A132-6BEC7E1983AD@linux.alibaba.com> References: <20231209074716.2689401-1-guanjun@linux.alibaba.com> To: Andrew Halaney X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Tue, 12 Dec 2023 18:07:11 -0800 (PST) > 2023年12月12日 下午10:44,Andrew Halaney 写道: > > On Sat, Dec 09, 2023 at 03:47:16PM +0800, 'Guanjun' wrote: >> From: Guanjun >> >> Compiler reports the error message when compiling the file drivers/soc/qcom/pmic_pdcharger_ulog.c: >> - ./include/trace/define_trace.h:95:42: fatal error: ./pmic_pdcharger_ulog.h: No such file or directory >> 95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE) >> >> TRACE_INCLUDE_PATH shoule be relative to the path include/trace/define_trace.h, not >> the file including it. Fix it. >> >> Fixes: 086fdb48bc65d(soc: qcom: add ADSP PDCharger ULOG driver) >> Signed-off-by: Guanjun > > For what it is worth I sent a similar patch (which handled this by using > the CFLAG -I recommendation) over here about a week ago: > > https://lore.kernel.org/linux-arm-msm/20231205-pmicpdcharger-ulog-fixups-v1-1-71c95162cb84@redhat.com/ Sorry. I didn’t check you have already sent the fixed patch. Please ignore this email > > I keep disabling this driver locally when developing (or picking up that > patch) until something gets scooped up. > >> --- >> drivers/soc/qcom/pmic_pdcharger_ulog.h | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/drivers/soc/qcom/pmic_pdcharger_ulog.h b/drivers/soc/qcom/pmic_pdcharger_ulog.h >> index 9d5d9af4fbe4..3ac994d160bd 100644 >> --- a/drivers/soc/qcom/pmic_pdcharger_ulog.h >> +++ b/drivers/soc/qcom/pmic_pdcharger_ulog.h >> @@ -28,7 +28,7 @@ TRACE_EVENT(pmic_pdcharger_ulog_msg, >> /* This part must be outside protection */ >> >> #undef TRACE_INCLUDE_PATH >> -#define TRACE_INCLUDE_PATH . >> +#define TRACE_INCLUDE_PATH ../../../drivers/soc/qcom/ >> >> #undef TRACE_INCLUDE_FILE >> #define TRACE_INCLUDE_FILE pmic_pdcharger_ulog >> -- >> 2.39.3 >> >>