]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
trace: fsi: Print transfer size unsigned
authorAndrew Jeffery <andrew@aj.id.au>
Fri, 8 Nov 2019 05:19:38 +0000 (15:49 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2019 10:23:37 +0000 (11:23 +0100)
Due to other bugs I observed a spurious -1 transfer size.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Alistair Popple <alistair@popple.id.au>
Link: https://lore.kernel.org/r/20191108051945.7109-5-joel@jms.id.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/trace/events/fsi.h

index 92e5e89e52edd23551942219a1146f92faea07aa..9832cb8e0eb069610da04d05e8aef39f63e9c1de 100644 (file)
@@ -26,7 +26,7 @@ TRACE_EVENT(fsi_master_read,
                __entry->addr = addr;
                __entry->size = size;
        ),
-       TP_printk("fsi%d:%02d:%02d %08x[%zd]",
+       TP_printk("fsi%d:%02d:%02d %08x[%zu]",
                __entry->master_idx,
                __entry->link,
                __entry->id,
@@ -56,7 +56,7 @@ TRACE_EVENT(fsi_master_write,
                __entry->data = 0;
                memcpy(&__entry->data, data, size);
        ),
-       TP_printk("fsi%d:%02d:%02d %08x[%zd] <= {%*ph}",
+       TP_printk("fsi%d:%02d:%02d %08x[%zu] <= {%*ph}",
                __entry->master_idx,
                __entry->link,
                __entry->id,
@@ -93,7 +93,7 @@ TRACE_EVENT(fsi_master_rw_result,
                if (__entry->write || !__entry->ret)
                        memcpy(&__entry->data, data, size);
        ),
-       TP_printk("fsi%d:%02d:%02d %08x[%zd] %s {%*ph} ret %d",
+       TP_printk("fsi%d:%02d:%02d %08x[%zu] %s {%*ph} ret %d",
                __entry->master_idx,
                __entry->link,
                __entry->id,