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>
#define GB_SDIO_SET_DRIVER_TYPE_A 0x01
#define GB_SDIO_SET_DRIVER_TYPE_C 0x02
#define GB_SDIO_SET_DRIVER_TYPE_D 0x03
-};
+} __packed;
/* command request */
struct gb_sdio_command_request {
#define GB_SDIO_CMD_BC 0x03
__le32 cmd_arg;
-};
+} __packed;
struct gb_sdio_command_response {
__le32 resp[4];
__le16 data_blocks;
__le16 data_blksz;
__u8 data[0];
-};
+} __packed;
struct gb_sdio_transfer_response {
__le16 data_blocks;