summaryrefslogtreecommitdiffstats
path: root/include/trace/events/qdisc.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-07-20 19:39:43 +0900
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2019-07-30 21:49:06 -0400
commitb1d45c23284e55a379f85554a27a548b7988d47a (patch)
tree46e80ccf892dbbd2d5f079b1f4370d39638a3224 /include/trace/events/qdisc.h
parent609488bc979f99f805f34e9a32c1e3b71179d10b (diff)
downloadlinux-b1d45c23284e55a379f85554a27a548b7988d47a.tar.gz
linux-b1d45c23284e55a379f85554a27a548b7988d47a.tar.bz2
linux-b1d45c23284e55a379f85554a27a548b7988d47a.zip
tracing: Fix header include guards in trace event headers
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 <yamada.masahiro@socionext.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/events/qdisc.h')
-rw-r--r--include/trace/events/qdisc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/trace/events/qdisc.h b/include/trace/events/qdisc.h
index 60d0d8bd336d..0d1a9ebf55ba 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 <linux/skbuff.h>
#include <linux/netdevice.h>
@@ -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 <trace/define_trace.h>