Commit ae24ba76 authored by Takashi Sakamoto's avatar Takashi Sakamoto
Browse files

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: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
parent 2fd22faf
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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