greybus: tracing: fix module num_interfaces
authorAlex Elder <elder@linaro.org>
Fri, 3 Jun 2016 20:55:33 +0000 (15:55 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 4 Jun 2016 00:03:23 +0000 (17:03 -0700)
commitc65fdf031816001dde2bf852560c86d226e54da4
tree8c68eea920504e615c3ad16425869c50a941abd2
parent1ea3ed54dcc2e623db650cf9592d4d3469c99e65
greybus: tracing: fix module num_interfaces

A module's num_interfaces field is included in the data to be
recorded for tracing, but it's never assigned or reported.  Fix
its type to be size_t, to match its definition in the gb_module
structure.

Also correct a format length modifier used for a host device's
num_cports field.

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