HomeFreeBSD

Declare packed struct ata_params as 2-byte-aligned

Description

Declare packed struct ata_params as 2-byte-aligned

This avoids gcc9 warning about unaligned access to the structure when
casting to uint16_t pointer type.

Submitted by: imp
Reviewed by: imp
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22888

Details

Provenance
rlibbyAuthored on
Reviewer
imp
Differential Revision
D22888: Declare packed struct ata_params as 2-byte-aligned
Parents
rS355971: gcc9: quiet Waddress-of-packed-member for user build
Branches
Unknown
Tags
Unknown