]> www.infradead.org Git - users/willy/linux.git/commitdiff
firewire: core: undefine macros after use in tracepoints events
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 23 Jun 2024 08:39:00 +0000 (17:39 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 23 Jun 2024 21:46:31 +0000 (06:46 +0900)
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>
include/trace/events/firewire.h

index d237a30d197bddd54565ebbbed114f803b05a030..25289a063debc11de9daacfd85f6ced6604f64fd 100644 (file)
@@ -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