diff options
| author | 2022-07-18 05:09:13 +0000 | |
|---|---|---|
| committer | 2022-07-20 01:22:58 +0000 | |
| commit | 82c9b7ed8c5c5cb4ba2650c240fcd31cbdcfa0b5 (patch) | |
| tree | 9df6312360abd77b42998642e486a91a5f5dd27b /scripts/gdb/linux/config.py | |
| parent | platform/chrome: cros_ec_proto: return -EAGAIN when retries timed out (diff) | |
| download | linux-dev-82c9b7ed8c5c5cb4ba2650c240fcd31cbdcfa0b5.tar.xz linux-dev-82c9b7ed8c5c5cb4ba2650c240fcd31cbdcfa0b5.zip | |
platform/chrome: cros_ec_proto: add Kunit test for 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().
Add Kunit test and expect to receive an error code when
cros_ec_xfer_command() returns 0.
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
Link: https://lore.kernel.org/r/20220718050914.2267370-10-tzungbi@kernel.org
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions
