summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2016-05-04 05:54:58 (GMT)
committerchrome-bot <chrome-bot@chromium.org>2016-10-20 00:50:08 (GMT)
commit020010d103f37e0c5fdb9e5b960eb1bbdc5b91e4 (patch)
treeb8566f8a73ece090587b12a65bf8c890e64a82b4 /src
parente752d0709129615354c4119c6150d082d59ffccb (diff)
downloaddepthcharge-020010d103f37e0c5fdb9e5b960eb1bbdc5b91e4.tar.gz
depthcharge-020010d103f37e0c5fdb9e5b960eb1bbdc5b91e4.tar.xz
cros_ec: Use simpler function signature
handle_proto3_response() claims to consume an uint8_t**, but it's really just an opaque pointer to data. BUG=none BRANCH=none TEST=none Change-Id: I20301d310ec8f9cb3aa653e7b7aebb5efe4eb6fe Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: https://chromium-review.googlesource.com/342361 Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/ec/cros/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ec/cros/ec.c b/src/drivers/ec/cros/ec.c
index 757171d..9523057 100644
--- a/src/drivers/ec/cros/ec.c
+++ b/src/drivers/ec/cros/ec.c
@@ -156,7 +156,7 @@ static int prepare_proto3_response_buffer(int rs_size, int din_len)
* @return number of bytes of response data, or <0 if error
*/
static int handle_proto3_response(struct ec_host_response *rs,
- uint8_t **dinp, int din_len)
+ uint8_t *dinp, int din_len)
{
int in_bytes;
int csum;