diff options
author | Caveh Jalali <caveh@chromium.org> | 2022-11-07 18:21:34 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-08 21:47:42 +0000 |
commit | 00fb03e257cba6b00234de2fa7fb984a8c405df0 (patch) | |
tree | 16e9c632c1fc2fa50fcd6223ea5c7fb258f5cae7 | |
parent | 57cae6062acd7e2f1d009fb2ba43e9fc701a0ce8 (diff) | |
download | chrome-ec-00fb03e257cba6b00234de2fa7fb984a8c405df0.tar.gz |
util/ectool: Fix EC_CMD_GSV_PAUSE_IN_S5 result parameter type
This fixes the struct type for EC_CMD_GSV_PAUSE_IN_S5 responses.
Verified in the command implementation that EC_CMD_GSV_PAUSE_IN_S5 takes
a struct ec_params_get_set_value and returns a struct
ec_response_get_set_value. The two structs are identical, so there
should be no functional impact.
BRANCH=none
BUG=none
TEST=rebuilt ectool
Change-Id: I9ca4f6889b4fecec8b1a964cdf5788daf49be01a
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4010707
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r-- | util/ectool.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ectool.cc b/util/ectool.cc index 09673f7fd6..8f2a1c153f 100644 --- a/util/ectool.cc +++ b/util/ectool.cc @@ -887,7 +887,7 @@ int cmd_test(int argc, char *argv[]) int cmd_s5(int argc, char *argv[]) { struct ec_params_get_set_value p; - struct ec_params_get_set_value r; + struct ec_response_get_set_value r; int rv, param; p.flags = 0; |