Add missing packed attributes to prevent implicit structure padding.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
struct gb_svc_hello_request {
__le16 endo_id;
__u8 interface_id;
-};
+} __packed;
/* hello response has no payload */
struct gb_svc_intf_device_id_request {
__le32 ara_vend_id;
__le32 ara_prod_id;
} data;
-};
+} __packed;
/* hotplug response has no payload */
struct gb_svc_intf_hot_unplug_request {
__u16 cport1_id;
__u8 intf2_id;
__u16 cport2_id;
-};
+} __packed;
/* connection create response has no payload */
struct gb_svc_conn_destroy_request {
__u16 cport1_id;
__u8 intf2_id;
__u16 cport2_id;
-};
+} __packed;
/* connection destroy response has no payload */
/* UART */