Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp618523rdb; Tue, 5 Dec 2023 15:05:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IETJMVlpSUm44Dp5VEAhoGj8c8nDJ+1FGSJzP99eQ6kASXm9UYhoIByGDoJC/w07jSCLONz X-Received: by 2002:a17:903:11cc:b0:1d0:6ffd:9e1c with SMTP id q12-20020a17090311cc00b001d06ffd9e1cmr7977744plh.110.1701817532558; Tue, 05 Dec 2023 15:05:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701817532; cv=none; d=google.com; s=arc-20160816; b=eGLdOzrBUsN6CYwguG8PkQar2f36XVWN/hd4VeGsvVa1ZW0/uV2VedZIqSiPjK7GjO doB4tbr6aPH/IFZC8WJTUxWjYc/LsomqgXkogF/1OQ7Me569cHW/PZoLUZNl/V4GMf2B YRpuuO3RwIYCDBV207uXFxzPLOh1jYE735imjK0RtOvLBBrgie2ph3bDFwyn1P3kL0ty P+xsJ4BadonGZKPYM2E2iA81IjvnOgKJFmkhgMe5e4wNAGD6AK/b5PTSq2U6U9gBymAo A9wjG8VuLZlWRB0fR8vTUma9qcIa34dsXq/Vaz23ooZeMoWN4ZQ5g8u22l69LhgKUus4 qavA== 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=zI2EQGzuy4/i38sKyTTPT4IeppHHa6FP6X9uU+Zh4lQ=; fh=gwkyaTlwLFJXu80f0q09XxdfhZjI34vUYWoI+enPr7w=; b=pukfK/3WZEuYSlw0AXGJo0w1ZCqWyxzzWeW1A6Rs3PkWpowUEP9VEcSYHbLYgJ+Qzy V83vT1lS5HbNQQFQh3Ark3H/axnouke8ByRmeu0sb/wByucZN9R1DmnWsbpo/HHwaWkr c1+xbKt3Yn94lYLjl+dskMIWWy+8dtFL62Ahu539fWhG96PQH1jft4rFeXaY2E9TjYDc k6sH4R84Nn3+rzdWDqTbMqU74PTRpk0yMx1JbCAHuAorja8hcOjHEZWFHHfSS+vYkAIs KJ+Z42flBywKlEwMcQJnPNVQ1LEPaKF9PPGKKe7Q+uHAOLtp64odQ01mzoXHe0l2wDvO f92A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ps4GGRf2; 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 be10-20020a656e4a000000b005be1ee5bea2si10712731pgb.374.2023.12.05.15.05.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 15:05:32 -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=Ps4GGRf2; 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 5625A8030477; Tue, 5 Dec 2023 15:05:31 -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 S1346607AbjLEXFS (ORCPT + 99 others); Tue, 5 Dec 2023 18:05:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346549AbjLEXFK (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 E571CD45 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=1701817516; 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=zI2EQGzuy4/i38sKyTTPT4IeppHHa6FP6X9uU+Zh4lQ=; b=Ps4GGRf29+R3oZuPRQTLey+AyxWsZtp5zv5YDkzSDTOoQN0qdwtJGe8qE/XqBglqt9DTYh fuOhJD4jMvQiHiZBNOdMfl/hCoJkgHc4yFJxsvMgaqCQTYSlqTFgtXX2uY18ZAkbpSPsYk aUUR2M7Ff98+7TVFP6LKT/DDx39SwHw= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-375-bJ7NQHHbPPmBFmcmcypx2A-1; Tue, 05 Dec 2023 18:05:14 -0500 X-MC-Unique: bJ7NQHHbPPmBFmcmcypx2A-1 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-423f2e9ed5dso2229331cf.0 for ; Tue, 05 Dec 2023 15:05:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701817514; x=1702422314; 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=zI2EQGzuy4/i38sKyTTPT4IeppHHa6FP6X9uU+Zh4lQ=; b=YLvPnj3xDCyeQqu4xmNcxtSorusKJLYNcx5EfDoeujVIwtNtyXqjksOg/HpUzxbscL sS1TuAzxjFGFwMU8tdKdMpalUr8p0HvzEFAY81BRgxPagCBd84YhL8SoAbF+vl6ZRjes 2XUtOTytTJcDq1Q5V1Cz7fLYWHdHij5aGIeERg5kuLxKnRpfaqH+X/s1mtvbIIkVTvaH dlU1Z2SJLMWgVYPz1ZHLNJPfATRsPwAXgejg3gSrSgFxw4qa5gNSUjGywEqrbKVowH/q CNFb37P6Tjweutut+1WlegMrlu5+o1z1vPHmNn+iCy/FI2J5nwWHMtz0jbMIQ9pzCdKP tnfQ== X-Gm-Message-State: AOJu0YxGFfC+uxzHS0d46QfMtlkh5bOFDHeWfcaFPvcMJdCJX/y4L00P lx0L4sthKWc1KKuKljWnVR1FHtjt/nycHZdA38UYeTok6K/Nz1Ud28CUuTnpeSGqBu6NFeM1ejZ mSjxuhYx232PMsy0esz+9wmtn X-Received: by 2002:a05:622a:86:b0:425:4043:29f0 with SMTP id o6-20020a05622a008600b00425404329f0mr2448048qtw.107.1701817514109; Tue, 05 Dec 2023 15:05:14 -0800 (PST) X-Received: by 2002:a05:622a:86:b0:425:4043:29f0 with SMTP id o6-20020a05622a008600b00425404329f0mr2448032qtw.107.1701817513875; 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.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 15:05:13 -0800 (PST) From: Andrew Halaney Date: Tue, 05 Dec 2023 17:05:10 -0600 Subject: [PATCH 2/3] soc: qcom: pmic_pdcharger_ulog: Move TRACE_SYSTEM out of #if protection MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231205-pmicpdcharger-ulog-fixups-v1-2-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=-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_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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, 05 Dec 2023 15:05:31 -0800 (PST) As specified in samples/trace_events/trace-events-sample.h: * Notice that TRACE_SYSTEM should be defined outside of #if * protection, just like TRACE_INCLUDE_FILE. Fixes: 086fdb48bc65 ("soc: qcom: add ADSP PDCharger ULOG driver") Signed-off-by: Andrew Halaney --- drivers/soc/qcom/pmic_pdcharger_ulog.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/soc/qcom/pmic_pdcharger_ulog.h b/drivers/soc/qcom/pmic_pdcharger_ulog.h index 9d5d9af4fbe4..152e3a6b5480 100644 --- a/drivers/soc/qcom/pmic_pdcharger_ulog.h +++ b/drivers/soc/qcom/pmic_pdcharger_ulog.h @@ -3,14 +3,14 @@ * Copyright (c) 2023, Linaro Ltd */ +#undef TRACE_SYSTEM +#define TRACE_SYSTEM pmic_pdcharger_ulog + #if !defined(_TRACE_PMIC_PDCHARGER_ULOG_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_PMIC_PDCHARGER_ULOG_H #include -#undef TRACE_SYSTEM -#define TRACE_SYSTEM pmic_pdcharger_ulog - TRACE_EVENT(pmic_pdcharger_ulog_msg, TP_PROTO(char *msg), TP_ARGS(msg), -- 2.43.0