diff options
| author | Johan Hovold <[email protected]> | 2016-07-26 17:11:28 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-07-26 14:53:19 -0700 |
| commit | dfcba8626f55fe5d6ba6e2847178cbf629740773 (patch) | |
| tree | 6230866ba482822c7856dd45f941f8236e31914b /tools/perf/scripts/python | |
| parent | 43c85a09b12cd3e782ae237be9903fef4559cc0d (diff) | |
greybus: operation: fix broken response error messages
The operation type included in the error message printed for malformed
responses has never been correct. An uninitialised buffer was used to
retrieve the type, resulting in the type always being reported as 0.
Fix this by passing a properly aligned header to the response handler,
and drop the now redundant id and result parameters.
Fixes: cb0ef0c019ab ("operation: print message type on errors")
Reviewed-by: Viresh Kumar <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions