Skip to content

Commit ae24ba7

Browse files
committed
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>
1 parent 2fd22fa commit ae24ba7

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

include/trace/events/firewire.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,14 @@ TRACE_EVENT(self_id_sequence,
428428
)
429429
);
430430

431+
#undef PHY_PACKET_SELF_ID_GET_PHY_ID
432+
#undef PHY_PACKET_SELF_ID_GET_LINK_ACTIVE
433+
#undef PHY_PACKET_SELF_ID_GET_GAP_COUNT
434+
#undef PHY_PACKET_SELF_ID_GET_SCODE
435+
#undef PHY_PACKET_SELF_ID_GET_CONTENDER
436+
#undef PHY_PACKET_SELF_ID_GET_POWER_CLASS
437+
#undef PHY_PACKET_SELF_ID_GET_INITIATED_RESET
438+
431439
#undef QUADLET_SIZE
432440

433441
#endif // _FIREWIRE_TRACE_EVENT_H

0 commit comments

Comments
 (0)