diff options
| author | Bryan O'Donoghue <[email protected]> | 2016-07-18 14:59:36 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-07-18 09:22:45 -0700 |
| commit | 6a1d29595ed7af5aebbcdb8f4cc045ae7893dc6c (patch) | |
| tree | 0ed8b215bcd46cb41349a155133d120adf81f3c2 /tools/perf/scripts/python | |
| parent | 433aa123f51b85b5ad8fb2f088a6365d54e2763b (diff) | |
greybus: greybus_protocols.h/es2: Ensure __le32 is used not u32
There is a dangling u32 in es2/greybus_protocols.h that is only obvious
when you try to compile up gbsim. We need to do a cpu_to_le32 and declare
the 32-bit int in the header as __le32. This patch does that and splits out
the assignment of the req->flags parameter to a temporary variable to allow
for later printing.
Signed-off-by: Bryan O'Donoghue <[email protected]>
Suggested-by: Johan Hovold <[email protected]>
Reviewed-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions