diff options
author | Michael Auchter <michael.auchter@ni.com> | 2019-12-09 20:27:31 +0000 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2019-12-10 21:11:31 -0700 |
commit | b4f98b3b16ec513f7fa6b97ec49792a5e99ec165 (patch) | |
tree | 788b127af58613bb3f0671f88a40bf4e627729bd /drivers/w1 | |
parent | d08c38c32f64498946230059bd4ec1431c23476a (diff) |
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
9fea76f5d30264dc08ac591a7a89427b8441555b, but this function was skipped
for some reason.
Signed-off-by: Michael Auchter <michael.auchter@ni.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions