diff options
author | Tzung-Bi Shih <[email protected]> | 2022-07-18 05:09:14 +0000 |
---|---|---|
committer | Tzung-Bi Shih <[email protected]> | 2022-07-20 01:22:58 +0000 |
commit | 3e1c715ea179201372384fad738680d524600985 (patch) | |
tree | 1fddfa15945a72a6a4340ed7daf9e46030217bb3 /scripts/gdb/linux/tasks.py | |
parent | 82c9b7ed8c5c5cb4ba2650c240fcd31cbdcfa0b5 (diff) |
platform/chrome: cros_ec_proto: return -EPROTO if empty payload
cros_ec_wait_until_complete() sends EC_CMD_GET_COMMS_STATUS which expects
to receive sizeof(struct ec_response_get_comms_status) from
cros_ec_xfer_command().
Return -EPROTO if cros_ec_xfer_command() returns 0.
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Tzung-Bi Shih <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions