aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-06-23 17:39:00 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-06-24 06:46:31 +0900
commitae24ba769b5c108b00cdf49ed39b189eb012fbb8 (patch)
treef5673044ace4025ebdb7a775dfe60dd630e4f1da
parentfirewire: core: record card index in tracepoints event for self ID sequence (diff)
downloadwireguard-linux-ae24ba769b5c108b00cdf49ed39b189eb012fbb8.tar.xz
wireguard-linux-ae24ba769b5c108b00cdf49ed39b189eb012fbb8.zip
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/20240623083900.777897-1-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-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