diff options
| author | Alex Elder | 2016-06-03 15:55:29 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman | 2016-06-03 17:03:23 -0700 |
| commit | e5f23c45841ff371e4e515e8c5395fc659017930 (patch) | |
| tree | 515c4f23293a24219fb793e1a1fc4396eb7674d9 /tools/perf/scripts/python/bin | |
| parent | 17ca677018117deee1bd75b301894dca975e7fc5 (diff) | |
greybus: tracing: fix "make check" warnings
Some of the trace buffer fields were defined as Booleans. This
leads to two problems reported by "make check":
- the __field() macro (or some descendent macro) performs
a sizeof(bool) operation, which results in a warning
- The TP_printk() macro, which specifies a printf() style
format string, produces a warning when one attempts to
format a Boolean as an integer.
Fix both problems implicitly converting Boolean values from the data
structures into integers in the trace buffer.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
