Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4685444rdb; Tue, 12 Dec 2023 06:45:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IGXDGTDIeNGfr56UW5X4eO07Roz2lKC3nzgTms2nrKEzmifQ3rrJzLpXyi2GAXkkNoPWJbs X-Received: by 2002:a05:6358:880c:b0:170:d105:e793 with SMTP id hv12-20020a056358880c00b00170d105e793mr4177899rwb.28.1702392300491; Tue, 12 Dec 2023 06:45:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702392300; cv=none; d=google.com; s=arc-20160816; b=o5Wp7Me7vT3hg7/bWajDmeTQVOuRPOpkrHG/U2HQALZSNqGSjuvdD8RyPflqFeEuOf jXZSxCIhal+MpoxIyQLeUGXT1lXe0BV8r9id2oTrp8TmzgIO4/GhJ8UOP5A/5fFV0GrG qqVETmXIHIf/lkC4GQAogZ0zoV76jcROyUIPJIxg+B5Um7ieszSO6I6YJUsytYC4Os6I zjufuJp0PTvIKpbXFb0PUqpLBfNzSo1OonPWFuHtPp609u38iNa9jkVfdoXAi+i3MiSv MZtMzfyvxD5Ec1O+/MYPLRqtIS+GGZKBBq7BZmwfQM+UL4nSuEnUTxjCpLHQxOpiRzmv uh7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2xjg0etbdLaR5lepvPpgd7mHNgfxLS6jqL5w2wbBqn4=; fh=u3gRK+FtdTQAi0q2bjFX4CQ9zYnJI/FXAkSek+J4dsk=; b=sj9/te9F+hHKAAbHhLt6W0PVFd4h2jM1Isioj17jsWnX8gMiXqo4vMVs/cNQK3KT1K imnlM4ziMOV2LhaJRo3PP62PEcHMarchynSo2sWADgFRvr90CRV4dAaU/mSR+70a4M1y dR4NdGods23XSfv9+IeZ22sM/SRvERftHLPvKBJwbZ03AvBhnbC8W9Gmne55mjEZfTrq mhoCSjmE55fYmV/CDIjaBc/CSQsPvs3Zy1edLGhGgjUgYvoIgk095+PgjyNl074OdIU4 sYbiYZFBdGlKPpbTO/FdlzJ2IEBzTJBGID8vKoTVSEqAHdrug3WdBHISzyDAMarZRQDk iqtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EnLVaIzm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id e6-20020a654786000000b005c6650f66b5si7635830pgs.267.2023.12.12.06.45.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 06:45:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EnLVaIzm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7607C80ADF03; Tue, 12 Dec 2023 06:44:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377002AbjLLOor (ORCPT + 99 others); Tue, 12 Dec 2023 09:44:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376936AbjLLOo0 (ORCPT ); Tue, 12 Dec 2023 09:44:26 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E263114 for ; Tue, 12 Dec 2023 06:44:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702392268; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2xjg0etbdLaR5lepvPpgd7mHNgfxLS6jqL5w2wbBqn4=; b=EnLVaIzmwx+396Q5I/z4p4JpVglgVrHGpXTRaeNosBXpH3p0niMuS5WubsjS+IO75NvYm8 3UCKqVcEYP01l4Atf+jIYkbRgaabczhxQJqL/ciomrj8rY2mK1xQjZMGLlPtP5AWqSaGrP r+J/pebbIp7U7ytjX7dtM0dXBJ1Nex8= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-164-fBLEDJOPOdCsyHxcjjUcAg-1; Tue, 12 Dec 2023 09:44:26 -0500 X-MC-Unique: fBLEDJOPOdCsyHxcjjUcAg-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-42593d04ef6so43816671cf.2 for ; Tue, 12 Dec 2023 06:44:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702392266; x=1702997066; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=2xjg0etbdLaR5lepvPpgd7mHNgfxLS6jqL5w2wbBqn4=; b=L17iWZMyCS54W2vGm2AEwJm7QdAgZv7IXKl6PEi0BpP59J8tdRk9W2oir07c4D0rzm /jjeY7iGNDOxbANJIsjXG7DqA647LvkRFH27I+GXXV6s1AVYuqOdaReGOFU9IdrWpGVc yNOwmVF2I4HqjB2KqaUL2OD4ieEC+b62UTbguhpuzfSh8fO+Wz07PG1ORc7VfB9EkY8A +MammcccbCiT+a/QUp9FlJn+mV48fwsYiS0kCqLgofk56b3vLrrkFYm5eLnM0Pj6CoK1 M0BG8SHLA29akA/J5juN66Q35eQmka+kmGLm+310gdmvO0qEdQaFvSxBaWMmqEGyKFwx P9Xw== X-Gm-Message-State: AOJu0YymajvWwNu+cIgE6VoRVZUU69m0pbTIRZeSfhNrJ1TMGP+5DdQt deJ3N2S1z+l8sV/dlmaGRWs4nfdQQi8lIqYpyuG6wVAV8xxLxQhMaTc9lFFyCsx2DcorH5N7jt2 GnATpMd6W0VsuF+acWsGoYlHI X-Received: by 2002:ac8:5bc1:0:b0:425:8b0b:c626 with SMTP id b1-20020ac85bc1000000b004258b0bc626mr5762288qtb.104.1702392265843; Tue, 12 Dec 2023 06:44:25 -0800 (PST) X-Received: by 2002:ac8:5bc1:0:b0:425:8b0b:c626 with SMTP id b1-20020ac85bc1000000b004258b0bc626mr5762274qtb.104.1702392265547; Tue, 12 Dec 2023 06:44:25 -0800 (PST) Received: from fedora ([2600:1700:1ff0:d0e0::37]) by smtp.gmail.com with ESMTPSA id z23-20020ac87117000000b00423de58d3d8sm4110652qto.40.2023.12.12.06.44.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 06:44:24 -0800 (PST) Date: Tue, 12 Dec 2023 08:44:21 -0600 From: Andrew Halaney To: 'Guanjun' 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 Subject: Re: [PATCH 1/1] soc: qcom: Fix compile error caused by uncorrectable definition of TRACE_INCLUDE_PATH Message-ID: References: <20231209074716.2689401-1-guanjun@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231209074716.2689401-1-guanjun@linux.alibaba.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 06:44:59 -0800 (PST) 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/ 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 > >