Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp618492rdb; Tue, 5 Dec 2023 15:05:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHsnp2fVchsXsq930xTx5EG0sXC5emk6y9zB89se7Phfxqrc4VDhM4apjM8q+r9uW3M8Px X-Received: by 2002:aa7:98c8:0:b0:6ce:5288:f75c with SMTP id e8-20020aa798c8000000b006ce5288f75cmr1903921pfm.34.1701817530546; Tue, 05 Dec 2023 15:05:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701817530; cv=none; d=google.com; s=arc-20160816; b=S5eN5HE/pVc5D0R905a/Ja71lBfE4j700KGymH0mXlRckFnZsG6BCtMI9rHF+/Cb9c 1RvXLCGl9jE2ocSrMvD8Et+V1F8tYSfvu+4DNbpq5DUc9YhobhT38jj8zyWQyD0O8pQp 4aeMpO+yWLGvquQvFeQbqR6ToagcG2phd0pow1DGhu7BZBImcL1CsI7N3OsTFhugp7/J ZH0QsZ2g2/tf+O8DqziPqGfY5wDgZxQioSPPgTyV/d8+zj8dVvk42kNpprHA9WKy2dxb sgGBw5XAm7GYnKB2VRuDUqERhsWqTaStnYdiNTCGYOBJ/UwUKbGaXkzsKsFQJlYATp87 lQhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=g9g0AqQltjx9HVi2PVmhYskrOtwbSdqnOJIb+sPsbDU=; fh=gwkyaTlwLFJXu80f0q09XxdfhZjI34vUYWoI+enPr7w=; b=mKNJJpYvG6bQbPSPUxWbEh8437x5V7f/xvvvszakASqS2T4AYLSupemgz5ZAZQvA48 87iaRPsbiyB2cMEMav6qyGuR1h7OJWBacmw8h7gog6PrbkyFI+FX9SUBJfToWQbstJnv 1mO/pdz6IHK1KaHXfRMa3rhjkeAsi4KtTisniYRpySytfQ7sCBC812VCt+UL4BkFlD6N 0Jsc/F6jK6w0LejjWRPwhwwYwo0CqtODhnSvFnpdgk/c7IZBfaOo3pWKYuOqNH8umDkt e2m6cYnYV24kQT4lfBBj6pFda4EgqGYe8L2UQLTamlL/4kxMKjy+wjiAabzzAiRmZzom xQyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JZGvNj4v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id h63-20020a636c42000000b005c624c6c8c0si10129471pgc.536.2023.12.05.15.05.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 15:05:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JZGvNj4v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 7A65382A8546; Tue, 5 Dec 2023 15:05:25 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346559AbjLEXFL (ORCPT + 99 others); Tue, 5 Dec 2023 18:05:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346555AbjLEXFK (ORCPT ); Tue, 5 Dec 2023 18:05:10 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACDF6B9 for ; Tue, 5 Dec 2023 15:05:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701817515; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g9g0AqQltjx9HVi2PVmhYskrOtwbSdqnOJIb+sPsbDU=; b=JZGvNj4vzVesqoLOtCOLP4euBwjPjpmPpx2nsBgYsBdbHMTkKiS7KgcM3k35ulyFikzjQ6 qND1L7lzHBB4PW+gkVVJLgkQbrDCbMIUpxPdPOsD+sNLEKNPKFs0R3dK9lYFxrEgUV7tM6 cAPUVAhz2qwd71pAnDa0t9VUV9DuJPM= Received: from mail-qt1-f200.google.com (mail-qt1-f200.google.com [209.85.160.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-621-8g54K8ZlNYGoh-sbE_VNJA-1; Tue, 05 Dec 2023 18:05:13 -0500 X-MC-Unique: 8g54K8ZlNYGoh-sbE_VNJA-1 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-423f4f5f586so2436171cf.0 for ; Tue, 05 Dec 2023 15:05:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701817513; x=1702422313; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=g9g0AqQltjx9HVi2PVmhYskrOtwbSdqnOJIb+sPsbDU=; b=BqM2smaNtWmsNEtdQ2b2yHkH/5ugVBoSOOm39CFX+Hh10WCfyF8ejamcAOtzQPSX67 SfxJHC5/8QddGCuk1uHsfQojqET0LMgKOxu75x+pFRS82rQm9mvk/GOwrDZ2441onQt8 JGsEemoGpL0yoB8rbXYpO3uJDJykC+6aljD8xV5ngWXLOAihYypLMcq7cX5B9xnubDa0 6CzWg3idp8kzVUmOEAOKxHiuG7lrWZIRvcCbuZmXlGv37V2dOeWNqM7S/eFjmjMc9oEe 2o8BBlbykHOa2bVVH+fFUjscYjGSO1tLNEdtbU/LiNk25rRqqRtW/6BGFGj6+61v3gHE SzEQ== X-Gm-Message-State: AOJu0YxQIU97S/kfC7O2ATna2ZPyTTQWoKFavxjVRg3iM9WuI8WMeNCE if92kqOsWrndqFTCvMvwLApaRG8RcCdVOzR0lU+drAJoCLJd+xjBYO0gohuLlYxNIJsqJWSBBXk czCU0MzDClCCu6JLn9HB2aF07 X-Received: by 2002:ac8:7d8c:0:b0:425:4043:5f1b with SMTP id c12-20020ac87d8c000000b0042540435f1bmr2507693qtd.89.1701817513292; Tue, 05 Dec 2023 15:05:13 -0800 (PST) X-Received: by 2002:ac8:7d8c:0:b0:425:4043:5f1b with SMTP id c12-20020ac87d8c000000b0042540435f1bmr2507679qtd.89.1701817513069; Tue, 05 Dec 2023 15:05:13 -0800 (PST) Received: from [192.168.1.164] ([2600:1700:1ff0:d0e0::47]) by smtp.gmail.com with ESMTPSA id df15-20020a05622a0ecf00b00423da75b0f4sm5504430qtb.71.2023.12.05.15.05.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 15:05:11 -0800 (PST) From: Andrew Halaney Date: Tue, 05 Dec 2023 17:05:09 -0600 Subject: [PATCH 1/3] soc: qcom: pmic_pdcharger_ulog: Search current directory for headers MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231205-pmicpdcharger-ulog-fixups-v1-1-71c95162cb84@redhat.com> References: <20231205-pmicpdcharger-ulog-fixups-v1-0-71c95162cb84@redhat.com> In-Reply-To: <20231205-pmicpdcharger-ulog-fixups-v1-0-71c95162cb84@redhat.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Dmitry Baryshkov , Neil Armstrong Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 howler.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 (howler.vger.email [0.0.0.0]); Tue, 05 Dec 2023 15:05:25 -0800 (PST) As specified in samples/trace_events/Makefile: If you include a trace header outside of include/trace/events then the file that does the #define CREATE_TRACE_POINTS must have that tracer file in its main search path. This is because define_trace.h will include it, and must be able to find it from the include/trace directory. Without this the following compilation error is seen: CC drivers/soc/qcom/pmic_pdcharger_ulog.o In file included from drivers/soc/qcom/pmic_pdcharger_ulog.h:36, from drivers/soc/qcom/pmic_pdcharger_ulog.c:15: ./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) | ^ compilation terminated. Fixes: 086fdb48bc65 ("soc: qcom: add ADSP PDCharger ULOG driver") Signed-off-by: Andrew Halaney --- drivers/soc/qcom/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile index 110108e23669..05b3d54e8dc9 100644 --- a/drivers/soc/qcom/Makefile +++ b/drivers/soc/qcom/Makefile @@ -10,6 +10,7 @@ obj-$(CONFIG_QCOM_PDR_HELPERS) += pdr_interface.o obj-$(CONFIG_QCOM_PMIC_GLINK) += pmic_glink.o obj-$(CONFIG_QCOM_PMIC_GLINK) += pmic_glink_altmode.o obj-$(CONFIG_QCOM_PMIC_PDCHARGER_ULOG) += pmic_pdcharger_ulog.o +CFLAGS_pmic_pdcharger_ulog.o := -I$(src) obj-$(CONFIG_QCOM_QMI_HELPERS) += qmi_helpers.o qmi_helpers-y += qmi_encdec.o qmi_interface.o obj-$(CONFIG_QCOM_RAMP_CTRL) += ramp_controller.o -- 2.43.0