drivers/mmcsd/sdio.c: Fix struct packing of sdio_resp_r5

The struct memeber should be packed as well

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
Jukka Laitinen 2022-01-10 11:05:27 +02:00 committed by Alan Carvalho de Assis
parent 8167dd6b06
commit 297c8dfc3a

View File

@ -66,6 +66,7 @@ begin_packed_struct struct sdio_cmd53
begin_packed_struct struct sdio_resp_r5
{
uint32_t data : 8;
begin_packed_struct
struct
{
uint32_t out_of_range : 1;
@ -75,7 +76,8 @@ begin_packed_struct struct sdio_resp_r5
uint32_t io_current_state : 2;
uint32_t illegal_command : 1;
uint32_t com_crc_error : 1;
} flags;
}
end_packed_struct flags;
uint32_t reserved_16 : 16;
} end_packed_struct;