diff options
author | Sudeep Holla <[email protected]> | 2020-06-09 14:45:03 +0100 |
---|---|---|
committer | Sudeep Holla <[email protected]> | 2020-06-30 14:07:08 +0100 |
commit | bad0d73b657412058c4d7773ff0d50291bfe1905 (patch) | |
tree | 380d781811aba61e6cc2c92abe09f4bfc1eb0365 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) |
firmware: arm_scmi: Use signed integer to report transfer status
Currently the trace event 'scmi_xfer_end' reports the status of the
transfer using the unsigned status field read from the firmware which
may not be easy to interpret. It may also miss to emit any timeouts
that happen in the driver resulting in emitting garbage in the status
field in those scenarios.
Let us use signed integer so that error values are emitted out after
they are mapped from firmware error formats to standard linux error
codes. While at this, also include any timeouts in the driver itself.
Link: https://lore.kernel.org/r/[email protected]
Cc: Jim Quinlan <[email protected]>
Cc: Lukasz Luba <[email protected]>
Reviewed-by: Lukasz Luba <[email protected]>
Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions