Skip to content
Commit 73b44f40 authored by Shawn Nematbakhsh's avatar Shawn Nematbakhsh Committed by Benson Leung
Browse files

cros_ec_debugfs: Pass proper struct sizes to cros_ec_cmd_xfer()



We should output or receive every byte in the param / reply struct,
unrelated to the pointer size.

Signed-off-by: default avatarShawn Nematbakhsh <shawnn@chromium.org>
Reviewed-by: default avatarGwendal Grignou <gwendal@chromium.org>
[bleung: Picked from crosreview.com/444085 for cros_ec_debugfs.c only.
 cros_ec.c upstream had a different cros_ec_sleep_event which didn't
 have the sizeof issue]
Signed-off-by: default avatarBenson Leung <bleung@chromium.org>
parent e8626459
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment