mirror of
https://github.com/LIV2/a4091-software.git
synced 2025-12-06 06:22:44 +00:00
Change scsi_inquiry_data alignment
scsi_Data is a UWORD *, so newer GCC wants it to be UWORD aligned. Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
3f74f97f38
commit
fc0b18cbe9
@ -34,7 +34,7 @@ typedef struct scsi_inquiry_data {
|
||||
uint8_t flags4;
|
||||
uint8_t reserved;
|
||||
uint8_t version_descriptor[8][2];
|
||||
} __packed scsi_inquiry_data_t; // 74 bytes
|
||||
} __packed __attribute__((aligned(2))) scsi_inquiry_data_t; // 74 bytes
|
||||
|
||||
typedef struct scsi_generic {
|
||||
uint8_t opcode;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user