greybus: tracing: fix host device num_cports
authorAlex Elder <elder@linaro.org>
Fri, 3 Jun 2016 20:55:31 +0000 (15:55 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 4 Jun 2016 00:03:23 +0000 (17:03 -0700)
commitc507397455a6b0b7de7393dad9b4c46c6926bc3f
tree8b9992010149c00e3fff09033ec5dbfdf1563fbd
parent76639ef579012a1276043ed765a14170997155b2
greybus: tracing: fix host device num_cports

The type of the gb_host_device num_cports field is size_t.  Correct
the num_cports data recorded with a host device event so its type
matches that; fix the format length modifier used for it as well.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/greybus_trace.h