2024-05-06 08:22:25

by Takashi Sakamoto

[permalink] [raw]
Subject: [PATCH] firewire: core: fix type of timestamp for async_inbound_template tracepoints events

The type of time stamp should be u16, instead of u8.

Signed-off-by: Takashi Sakamoto <[email protected]>
---
include/trace/events/firewire.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/trace/events/firewire.h b/include/trace/events/firewire.h
index cd6931b134ee..d695a560673f 100644
--- a/include/trace/events/firewire.h
+++ b/include/trace/events/firewire.h
@@ -106,7 +106,7 @@ DECLARE_EVENT_CLASS(async_inbound_template,
__field(u8, generation)
__field(u8, scode)
__field(u8, status)
- __field(u8, timestamp)
+ __field(u16, timestamp)
__array(u32, header, ASYNC_HEADER_QUADLET_COUNT)
__dynamic_array(u32, data, data_count)
),
--
2.43.0



2024-05-08 09:54:35

by Takashi Sakamoto

[permalink] [raw]
Subject: Re: [PATCH] firewire: core: fix type of timestamp for async_inbound_template tracepoints events

On Mon, May 06, 2024 at 05:21:53PM +0900, Takashi Sakamoto wrote:
> The type of time stamp should be u16, instead of u8.
>
> Signed-off-by: Takashi Sakamoto <[email protected]>
> ---
> include/trace/events/firewire.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/trace/events/firewire.h b/include/trace/events/firewire.h
> index cd6931b134ee..d695a560673f 100644
> --- a/include/trace/events/firewire.h
> +++ b/include/trace/events/firewire.h
> @@ -106,7 +106,7 @@ DECLARE_EVENT_CLASS(async_inbound_template,
> __field(u8, generation)
> __field(u8, scode)
> __field(u8, status)
> - __field(u8, timestamp)
> + __field(u16, timestamp)
> __array(u32, header, ASYNC_HEADER_QUADLET_COUNT)
> __dynamic_array(u32, data, data_count)
> ),
> --
> 2.43.0

Applied to for-next branch.


Regards

Takashi Sakamoto