[PATCH] trace: fix commets of include guards

From: Philipp Rosenberger
Date: Wed Jul 15 2020 - 10:51:17 EST


Some header files where derived from other headers, but the comments of
the include guards where not changed. This patch fixes those comments
at the end of the header files.

Signed-off-by: Philipp Rosenberger <p.rosenberger@xxxxxxxxxx>
---
include/trace/events/initcall.h | 2 +-
include/trace/events/irq_matrix.h | 2 +-
include/trace/events/page_ref.h | 2 +-
include/trace/events/regulator.h | 2 +-
include/trace/events/rseq.h | 2 +-
include/trace/events/spi.h | 2 +-
include/trace/events/sunvnet.h | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/trace/events/initcall.h b/include/trace/events/initcall.h
index eb903c3f195f..9d7a00378ba9 100644
--- a/include/trace/events/initcall.h
+++ b/include/trace/events/initcall.h
@@ -68,7 +68,7 @@ TRACE_EVENT(initcall_finish,
TP_printk("func=%pS ret=%d", __entry->func, __entry->ret)
);

-#endif /* if !defined(_TRACE_GPIO_H) || defined(TRACE_HEADER_MULTI_READ) */
+#endif /* if !defined(_TRACE_INITCALL_H) || defined(TRACE_HEADER_MULTI_READ) */

/* This part must be outside protection */
#include <trace/define_trace.h>
diff --git a/include/trace/events/irq_matrix.h b/include/trace/events/irq_matrix.h
index 267d4cbbf360..6a554bdcd75a 100644
--- a/include/trace/events/irq_matrix.h
+++ b/include/trace/events/irq_matrix.h
@@ -195,7 +195,7 @@ DEFINE_EVENT(irq_matrix_cpu, irq_matrix_free,
);


-#endif /* _TRACE_IRQ_H */
+#endif /* _TRACE_IRQ_MATRIX_H */

/* This part must be outside protection */
#include <trace/define_trace.h>
diff --git a/include/trace/events/page_ref.h b/include/trace/events/page_ref.h
index 5d2ea93956ce..e3aa264918da 100644
--- a/include/trace/events/page_ref.h
+++ b/include/trace/events/page_ref.h
@@ -129,7 +129,7 @@ DEFINE_EVENT(page_ref_mod_template, page_ref_unfreeze,
TP_ARGS(page, v)
);

-#endif /* _TRACE_PAGE_COUNT_H */
+#endif /* _TRACE_PAGE_REF_H */

/* This part must be outside protection */
#include <trace/define_trace.h>
diff --git a/include/trace/events/regulator.h b/include/trace/events/regulator.h
index b70583c32c08..dd1fbf2269a0 100644
--- a/include/trace/events/regulator.h
+++ b/include/trace/events/regulator.h
@@ -136,7 +136,7 @@ DEFINE_EVENT(regulator_value, regulator_set_voltage_complete,

);

-#endif /* _TRACE_POWER_H */
+#endif /* _TRACE_REGULATOR_H */

/* This part must be outside protection */
#include <trace/define_trace.h>
diff --git a/include/trace/events/rseq.h b/include/trace/events/rseq.h
index a04a64bc1a00..4ebc8f228e7a 100644
--- a/include/trace/events/rseq.h
+++ b/include/trace/events/rseq.h
@@ -51,7 +51,7 @@ TRACE_EVENT(rseq_ip_fixup,
__entry->post_commit_offset, __entry->abort_ip)
);

-#endif /* _TRACE_SOCK_H */
+#endif /* _TRACE_RSEQ_H */

/* This part must be outside protection */
#include <trace/define_trace.h>
diff --git a/include/trace/events/spi.h b/include/trace/events/spi.h
index 277bb9d25779..3e71d24dc5de 100644
--- a/include/trace/events/spi.h
+++ b/include/trace/events/spi.h
@@ -151,7 +151,7 @@ DEFINE_EVENT(spi_transfer, spi_transfer_stop,

);

-#endif /* _TRACE_POWER_H */
+#endif /* _TRACE_SPI_H */

/* This part must be outside protection */
#include <trace/define_trace.h>
diff --git a/include/trace/events/sunvnet.h b/include/trace/events/sunvnet.h
index 8d444f1bb10d..088481cdd078 100644
--- a/include/trace/events/sunvnet.h
+++ b/include/trace/events/sunvnet.h
@@ -134,7 +134,7 @@ TRACE_EVENT(vnet_skip_tx_trigger,
TP_printk("(%x:%x) Skip Tx trigger. Last trigger sent was %d",
__entry->lsid, __entry->rsid, __entry->last)
);
-#endif /* _TRACE_SOCK_H */
+#endif /* _TRACE_SUNVNET_H */

/* This part must be outside protection */
#include <trace/define_trace.h>
--
2.27.0