diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-23 11:39:00 +0300 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-06-24 00:46:31 +0300 |
commit | ae24ba769b5c108b00cdf49ed39b189eb012fbb8 (patch) | |
tree | f5673044ace4025ebdb7a775dfe60dd630e4f1da | |
parent | 2fd22faf0e9f120c39e6f47e5622b0039bb10817 (diff) | |
download | linux-ae24ba769b5c108b00cdf49ed39b189eb012fbb8.tar.xz |
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.h | 8 |
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 |