aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_trace.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2015-12-07 15:05:38 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-12-08 15:31:14 -0500
commit100e90000840741b630d1a369119ccb57ea4e49c (patch)
tree046d40bfe8e94719c697530f73af289a48275279 /drivers/staging/greybus/greybus_trace.h
parentgreybus: svc: create svc along with host device (diff)
downloadlinux-dev-100e90000840741b630d1a369119ccb57ea4e49c.tar.xz
linux-dev-100e90000840741b630d1a369119ccb57ea4e49c.zip
greybus: use decimal notation for interfaces, bundles and cports
Fix up the last few places where hexadecimal rather than decimal notation was used for interface, bundle and cport ids. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_trace.h')
-rw-r--r--drivers/staging/greybus/greybus_trace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/greybus_trace.h b/drivers/staging/greybus/greybus_trace.h
index 1ca07064f5de..96c515113b98 100644
--- a/drivers/staging/greybus/greybus_trace.h
+++ b/drivers/staging/greybus/greybus_trace.h
@@ -41,7 +41,7 @@ DECLARE_EVENT_CLASS(gb_message,
__entry->payload_size = message->payload_size;
),
- TP_printk("greybus:%s op=%04x if_id=%04x hd_id=%04x l=%zu",
+ TP_printk("greybus:%s op=%04x if_id=%u hd_id=%u l=%zu",
__get_str(name), __entry->op_id, __entry->intf_cport_id,
__entry->hd_cport_id, __entry->payload_size)
);
@@ -125,7 +125,7 @@ DECLARE_EVENT_CLASS(gb_host_device,
__entry->payload_size = payload_size;
),
- TP_printk("greybus:%s if_id=%04x l=%zu", __get_str(name),
+ TP_printk("greybus:%s if_id=%u l=%zu", __get_str(name),
__entry->intf_cport_id, __entry->payload_size)
);