aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Sakamoto <[email protected]>2024-06-23 17:39:00 +0900
committerTakashi Sakamoto <[email protected]>2024-06-24 06:46:31 +0900
commitae24ba769b5c108b00cdf49ed39b189eb012fbb8 (patch)
treef5673044ace4025ebdb7a775dfe60dd630e4f1da
parent2fd22faf0e9f120c39e6f47e5622b0039bb10817 (diff)
firewire: core: undefine macros after use in tracepoints events
Some macros are defined in tracepoints events. They should be back to undefined state after use. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Sakamoto <[email protected]>
-rw-r--r--include/trace/events/firewire.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/trace/events/firewire.h b/include/trace/events/firewire.h
index d237a30d197b..25289a063deb 100644
--- a/include/trace/events/firewire.h
+++ b/include/trace/events/firewire.h
@@ -428,6 +428,14 @@ TRACE_EVENT(self_id_sequence,
)
);
+#undef PHY_PACKET_SELF_ID_GET_PHY_ID
+#undef PHY_PACKET_SELF_ID_GET_LINK_ACTIVE
+#undef PHY_PACKET_SELF_ID_GET_GAP_COUNT
+#undef PHY_PACKET_SELF_ID_GET_SCODE
+#undef PHY_PACKET_SELF_ID_GET_CONTENDER
+#undef PHY_PACKET_SELF_ID_GET_POWER_CLASS
+#undef PHY_PACKET_SELF_ID_GET_INITIATED_RESET
+
#undef QUADLET_SIZE
#endif // _FIREWIRE_TRACE_EVENT_H