summaryrefslogtreecommitdiff
path: root/configs/microchip_mpfs_icicle_defconfig
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-07-14 18:12:32 +0200
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2019-07-16 22:17:21 +0000
commit06e921b185f4f7af0a51bb2451cd56eb6c5b26da (patch)
treeaac648f0c0945ef3258a401a4878ad502359f658 /configs/microchip_mpfs_icicle_defconfig
parentc0b352ec9236e8fe6a42c00e541e3579d6df52e6 (diff)
disk: efi: avoid unaligned pointer error
When building with GCC 9.1 an error occurs: disk/part_efi.c: In function ‘gpt_verify_partitions’: disk/part_efi.c:737:49: error: taking address of packed member of ‘struct _gpt_entry’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 737 | gpt_convert_efi_name_to_char(efi_str, gpt_e[i].partition_name, | ~~~~~~~~^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [scripts/Makefile.build:279: disk/part_efi.o] Error 1 make: *** [Makefile:1594: disk] Error 2 Adjust gpt_convert_efi_name_to_char() to accept unaligned strings. Reported-by: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'configs/microchip_mpfs_icicle_defconfig')
0 files changed, 0 insertions, 0 deletions