Commit 9fa3a9b8 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: properly annotate struct gb_control_timesync_enable_request

A patch from created struct gb_control_timesync_enable_request,
but forgot to properly annotate that the fields are little-endian.  The
code is correct in treating them this way, so there isn't a bug, but
sparse complains.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 53f96506
...@@ -177,9 +177,9 @@ struct gb_control_interface_version_response { ...@@ -177,9 +177,9 @@ struct gb_control_interface_version_response {
struct gb_control_timesync_enable_request { struct gb_control_timesync_enable_request {
__u8 count; __u8 count;
__u64 frame_time; __le64 frame_time;
__u32 strobe_delay; __le32 strobe_delay;
__u32 refclk; __le32 refclk;
} __packed; } __packed;
/* timesync enable response has no payload */ /* timesync enable response has no payload */
......
Markdown is supported
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