Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1471943ybl; Thu, 22 Aug 2019 15:22:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqynW2rbY5T97yGj65E9FU4hMi8aZNYZzH/UK+N2QnUKrMAnio4zMMd11amQl3dj+QAp9tqV X-Received: by 2002:a17:902:23:: with SMTP id 32mr1188267pla.214.1566512551986; Thu, 22 Aug 2019 15:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566512551; cv=none; d=google.com; s=arc-20160816; b=MTUXfCNk6m4apwrFKCIpraI5zGLOvWgulPTS1j65/A0A7F3aYHTXwHHcyUkALuZS7k IyHpHBiRF2ELbbXPiK5g28kly4UBoxHHs6LVdZnOfTHSjom/jy9MWpp9q7rJr3HSb6Qt /8qu0NtB3Gg3rw6HkGWL8Uic/MiJ++j0e1g2GjQOnbespSXl82cY4eOf1vTmyX6dwnbI o0zYtgi92WOn0pjmeoatyGmryAPql2v+vFPgvJp9MLUEoh4d84xndmnRrnBvpogftvCS QgqGXQNZW1oWkJ5jNznIPzlCxOX0qfueSKdzC5cto5MBTg/Ch6AqVpYjEHZN5/3Cttc0 PZbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=A6lSKfwPqIGXJgsTkKOo/PUDjxs3dubKKUBon3UBPdY=; b=Vj1ykvlou8/+fi4mmIQgfexpa8RzINPY3aoJ8L+jbuB8wmnzgnjlFo34l66LwEU9Zt NE8+2TPkj1Yzs/UD92K+kFPlcqRQzp5ZFMLiq/hZEVsV3YVEDNnBwiinmKddvNdAdzKs EN/29j/0+c95jrjYlKh5rPkBe/kXZb9Gmlt92mNW8mOo8L+BGOLJR6ozfGmrcpOOk2SO nD1qOc1nS2sShyJDrDPxI24TQBDMOucx7mfThn/PBeDUXeVKqxFt4NzQo17P25BWMpmh PXY1+ualD8efaAXG73j+pG8YGUORe0uDHFVGQn75/89jETIfVEEeyFc4Zg9FisIxyauT Wv6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ruid9p8P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n9si450911pgj.171.2019.08.22.15.22.16; Thu, 22 Aug 2019 15:22:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Ruid9p8P; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390551AbfHVRIw (ORCPT + 99 others); Thu, 22 Aug 2019 13:08:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:58724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390522AbfHVRIt (ORCPT ); Thu, 22 Aug 2019 13:08:49 -0400 Received: from sasha-vm.mshome.net (wsip-184-188-36-2.sd.sd.cox.net [184.188.36.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 56B4823430; Thu, 22 Aug 2019 17:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566493728; bh=j7dRkRn0P7DuIjEpAV9BUNkDp+uQeUKmWjYYzdwUzds=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ruid9p8P7Oa/bXi1FgTFpH5PDRYCTnBi7FdWksW2Hr+SmL5sxeRtFVQalULjRCj2o SFrl2QYoeQEryiWBJgcHtMWEHpK09ZCTUySiVx16A6wCbE7O3aPTZSR325W4rH54V2 CuKKxA7UYWjX+pQe/OVrQ84E8LLVMpwmdGoWrtso= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Masahiro Yamada , Steven Rostedt , Sasha Levin Subject: [PATCH 5.2 062/135] tracing: Fix header include guards in trace event headers Date: Thu, 22 Aug 2019 13:06:58 -0400 Message-Id: <20190822170811.13303-63-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190822170811.13303-1-sashal@kernel.org> References: <20190822170811.13303-1-sashal@kernel.org> MIME-Version: 1.0 X-KernelTest-Patch: http://kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.2.10-rc1.gz X-KernelTest-Tree: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git X-KernelTest-Branch: linux-5.2.y X-KernelTest-Patches: git://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git X-KernelTest-Version: 5.2.10-rc1 X-KernelTest-Deadline: 2019-08-24T17:07+00:00 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Masahiro Yamada [ Upstream commit b1d45c23284e55a379f85554a27a548b7988d47a ] These include guards are broken. Match the #if !define() and #define lines so that they work correctly. Link: http://lkml.kernel.org/r/20190720103943.16982-1-yamada.masahiro@socionext.com Fixes: f54d1867005c3 ("dma-buf: Rename struct fence to dma_fence") Fixes: 2e26ca7150a4f ("tracing: Fix tracepoint.h DECLARE_TRACE() to allow more than one header") Fixes: e543002f77f46 ("qdisc: add tracepoint qdisc:qdisc_dequeue for dequeued SKBs") Fixes: 95f295f9fe081 ("dmaengine: tegra: add tracepoints to driver") Signed-off-by: Masahiro Yamada Signed-off-by: Steven Rostedt (VMware) Signed-off-by: Sasha Levin --- include/trace/events/dma_fence.h | 2 +- include/trace/events/napi.h | 4 ++-- include/trace/events/qdisc.h | 4 ++-- include/trace/events/tegra_apb_dma.h | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/trace/events/dma_fence.h b/include/trace/events/dma_fence.h index 2212adda8f77f..64e92d56c6a8f 100644 --- a/include/trace/events/dma_fence.h +++ b/include/trace/events/dma_fence.h @@ -2,7 +2,7 @@ #undef TRACE_SYSTEM #define TRACE_SYSTEM dma_fence -#if !defined(_TRACE_FENCE_H) || defined(TRACE_HEADER_MULTI_READ) +#if !defined(_TRACE_DMA_FENCE_H) || defined(TRACE_HEADER_MULTI_READ) #define _TRACE_DMA_FENCE_H #include diff --git a/include/trace/events/napi.h b/include/trace/events/napi.h index f3a12566bed05..6678cf8b235b8 100644 --- a/include/trace/events/napi.h +++ b/include/trace/events/napi.h @@ -3,7 +3,7 @@ #define TRACE_SYSTEM napi #if !defined(_TRACE_NAPI_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_NAPI_H_ +#define _TRACE_NAPI_H #include #include @@ -38,7 +38,7 @@ TRACE_EVENT(napi_poll, #undef NO_DEV -#endif /* _TRACE_NAPI_H_ */ +#endif /* _TRACE_NAPI_H */ /* This part must be outside protection */ #include diff --git a/include/trace/events/qdisc.h b/include/trace/events/qdisc.h index 60d0d8bd336d0..0d1a9ebf55ba4 100644 --- a/include/trace/events/qdisc.h +++ b/include/trace/events/qdisc.h @@ -2,7 +2,7 @@ #define TRACE_SYSTEM qdisc #if !defined(_TRACE_QDISC_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_QDISC_H_ +#define _TRACE_QDISC_H #include #include @@ -44,7 +44,7 @@ TRACE_EVENT(qdisc_dequeue, __entry->txq_state, __entry->packets, __entry->skbaddr ) ); -#endif /* _TRACE_QDISC_H_ */ +#endif /* _TRACE_QDISC_H */ /* This part must be outside protection */ #include diff --git a/include/trace/events/tegra_apb_dma.h b/include/trace/events/tegra_apb_dma.h index 0818f62861109..971cd02d2dafe 100644 --- a/include/trace/events/tegra_apb_dma.h +++ b/include/trace/events/tegra_apb_dma.h @@ -1,5 +1,5 @@ #if !defined(_TRACE_TEGRA_APB_DMA_H) || defined(TRACE_HEADER_MULTI_READ) -#define _TRACE_TEGRA_APM_DMA_H +#define _TRACE_TEGRA_APB_DMA_H #include #include @@ -55,7 +55,7 @@ TRACE_EVENT(tegra_dma_isr, TP_printk("%s: irq %d\n", __get_str(chan), __entry->irq) ); -#endif /* _TRACE_TEGRADMA_H */ +#endif /* _TRACE_TEGRA_APB_DMA_H */ /* This part must be outside protection */ #include -- 2.20.1