Explicitly add pad-bytes to manifest descriptors to match their layout
in greybus specification.
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
struct greybus_descriptor_interface {
__u8 vendor_stringid;
__u8 product_stringid;
+ __u8 pad[2];
} __packed;
/*
struct greybus_descriptor_bundle {
__u8 id; /* interface-relative id (0..) */
__u8 class;
+ __u8 pad[2];
} __packed;
/*
struct greybus_descriptor_header {
__le16 size;
__u8 type; /* enum greybus_descriptor_type */
+ __u8 pad;
} __packed;
struct greybus_descriptor {