Skip to content

Commit 5a5dc48

Browse files
committed
firewire: core: remove flag and width from u64 formats of tracepoints events
The pointer to fw_packet structure is passed to ring buffer of tracepoints framework as the value of u64 type. '0x%016llx' is used for the print format of value, while the flag and width are useless in the case. This commit removes them. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Sakamoto <[email protected]>
1 parent 87144bb commit 5a5dc48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/trace/events/firewire.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ TRACE_EVENT(async_phy_outbound_initiate,
221221
__entry->second_quadlet = second_quadlet
222222
),
223223
TP_printk(
224-
"packet=0x%016llx generation=%u first_quadlet=0x%08x second_quadlet=0x%08x",
224+
"packet=0x%llx generation=%u first_quadlet=0x%08x second_quadlet=0x%08x",
225225
__entry->packet,
226226
__entry->generation,
227227
__entry->first_quadlet,
@@ -245,7 +245,7 @@ TRACE_EVENT(async_phy_outbound_complete,
245245
__entry->timestamp = timestamp;
246246
),
247247
TP_printk(
248-
"packet=0x%016llx generation=%u status=%u timestamp=0x%04x",
248+
"packet=0x%llx generation=%u status=%u timestamp=0x%04x",
249249
__entry->packet,
250250
__entry->generation,
251251
__entry->status,
@@ -273,7 +273,7 @@ TRACE_EVENT(async_phy_inbound,
273273
__entry->second_quadlet = second_quadlet
274274
),
275275
TP_printk(
276-
"packet=0x%016llx generation=%u status=%u timestamp=0x%04x first_quadlet=0x%08x second_quadlet=0x%08x",
276+
"packet=0x%llx generation=%u status=%u timestamp=0x%04x first_quadlet=0x%08x second_quadlet=0x%08x",
277277
__entry->packet,
278278
__entry->generation,
279279
__entry->status,

0 commit comments

Comments
 (0)