From patchwork Tue Dec 5 23:05:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Halaney X-Patchwork-Id: 13480868 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="WVMlxF7G" 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 D9B35120 for ; Tue, 5 Dec 2023 15:10:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701817816; 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=WVMlxF7GfcUGrnIugATVYJNl9u/bL7ewEK4eMa6YXkJqhSFgStrMFBMsCPY+NlWG0mXRbv iaFBA2i3pqqwNHejISzx8hh2fIwmY7ou5ytSsn1tdG9R52/3eEohGBK37IEoWABh4pvuRl kwbWl8WwmQLhbfWeq/sRqB27Vx6UA+s= 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-191-KPE9UeTtNDeojrkU6GQAzw-1; Tue, 05 Dec 2023 18:10:15 -0500 X-MC-Unique: KPE9UeTtNDeojrkU6GQAzw-1 Received: by mail-qt1-f200.google.com with SMTP id d75a77b69052e-4254d3c7d5dso1998531cf.2 for ; Tue, 05 Dec 2023 15:10:15 -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=VARckVHEZCqsTNGqYnv4C8YHmDuAswAFbbsnK9h6YjVV9UKH7p2PbwBknEoTuBlx0K sBgm1WOgHWTw5Lapcju21wbP8mDZffmp0wwHWAwR0HIgoCsY4Tg2qYb9Emf+25Q9NDaj ts1nDxiKnBRBdOKaV7VG+zg2GxvnhX71hjTVaC9h4ntM/Loqwo52gcdCFZc+gdm6wcd9 oQ+s9r+/GJRA9BHPXadY2itv10KSrrgkNOvOf1nCkWgel6R3kEYrQZbi74MvfbMY3K3G mjnfYUF1aKDvJ+fwNR8MnhHt+CYENMKdJri+R0GbFXxuFrOj6hz/ajBKMG1Lg4ix6xos WJVQ== X-Gm-Message-State: AOJu0YyoJeFLO3v9yTQN6Yfx4tcMRechgYQqwpc0wOwecro+Q8S7wGOU PqvKJAI3Iyph1BGgsLcSMOzml22BfUICen3YCHMdHmszm6tbgDhK+VmKCxPN0RKjaVyLhOnTnNB nKiMLqllItSAdp7ZInXfg1zVAVA== X-Received: by 2002:a05:622a:86:b0:425:4043:29f0 with SMTP id o6-20020a05622a008600b00425404329f0mr2448051qtw.107.1701817514113; Tue, 05 Dec 2023 15:05:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUSJuhRYxsGAPkig1kIfC+X2795y9odDvO7Hg/W6OVnwyPHPYbjuRFxQWNgF7b5jamRX1D4w== 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 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 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 Reviewed-by: Neil Armstrong --- 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),