[PATCH] firewire: core: undefine macros after use in tracepoints events
Brought to you by:
aeb,
bencollins
From: Takashi S. <o-t...@sa...> - 2024-06-23 08:39:12
|
Some macros are defined in tracepoints events. They should be back to undefined state after use. Signed-off-by: Takashi Sakamoto <o-t...@sa...> --- include/trace/events/firewire.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/trace/events/firewire.h b/include/trace/events/firewire.h index 5ccc0d91b220..132f9329224d 100644 --- a/include/trace/events/firewire.h +++ b/include/trace/events/firewire.h @@ -366,6 +366,14 @@ TRACE_EVENT(bus_reset_handle, ) ); +#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 -- 2.43.0 |