summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2022-11-07 18:21:34 -0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-11-08 21:47:42 +0000
commit00fb03e257cba6b00234de2fa7fb984a8c405df0 (patch)
tree16e9c632c1fc2fa50fcd6223ea5c7fb258f5cae7
parent57cae6062acd7e2f1d009fb2ba43e9fc701a0ce8 (diff)
downloadchrome-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.cc2
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;