Skip to content
Commit b4f98b3b authored by Michael Auchter's avatar Michael Auchter Committed by Simon Glass
Browse files

cros_ec: use uint instead of uint8_t for cmd param



Chromium EC commands can be up to 16-bits, so using a uint8_t here can
cause truncation. Update to use a uint instead.

It looks like this should likely have been done as a part of
9fea76f5, but this function was skipped
for some reason.

Signed-off-by: default avatarMichael Auchter <michael.auchter@ni.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent d08c38c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment