HomeFreeBSD

fstyp: Remove __packed from struct exfat_de_label.

Description

fstyp: Remove __packed from struct exfat_de_label.

This fixes a -Waddress-of-packed-member warning about a possibly
unaligned pointer from GCC 9 when calling convert_label().

__packed has to be removed from struct exfat_dirent as well to fix an
alignment warning when casting from a struct exfat_dirent pointer to a
struct exfat_de_label pointer.

Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D32144

(cherry picked from commit 58862c0bea66139583f830d21c2f1d98fb844bb0)

Details

Provenance
jhbAuthored on Feb 1 2022, 1:33 AM
Reviewer
cem
Differential Revision
D32144: fstyp: Remove __packed from struct exfat_de_label.
Parents
rGe6c88ad35066: ggatec: Use ANSI C definition for init_initial_buffer_size.
Branches
Unknown
Tags
Unknown