diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-10-20 12:18:03 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-01-30 12:49:36 +0100 |
commit | 19850b639e445b6c13e8fa47cf9745fa617f53eb (patch) | |
tree | 5f3cea398bb6f9df25b3f45b304655cef0dcd484 /target/linux/brcm63xx/dts/usr9108.dts | |
parent | da5bee5345ce8f66eb36b8993b87b684e5cce614 (diff) | |
download | upstream-19850b639e445b6c13e8fa47cf9745fa617f53eb.tar.gz upstream-19850b639e445b6c13e8fa47cf9745fa617f53eb.tar.bz2 upstream-19850b639e445b6c13e8fa47cf9745fa617f53eb.zip |
ar71xx: fix packed-not-aligned error with GCC 8.
Building ar71xx currently fails with:
In file included from ./include/linux/ipv6.h:5,
from ./include/net/ipv6.h:16,
from ./include/net/inetpeer.h:16,
from ./include/net/ip_fib.h:24,
from ./include/net/switchdev.h:17,
from ./include/net/dsa.h:23,
from arch/mips/ath79/dev-dsa.h:15,
from arch/mips/ath79/dev-dsa.c:17:
./include/uapi/linux/ipv6.h:107:1: error: alignment 1 of 'struct ipv6_destopt_hao' is less than 2 [-Werror=packed-not-aligned]
} __attribute__((packed));
Address this issue by correcting the alignment of the struct packing
pragma accordingly.
Fixes: FS#1805
Reported-by: Pascal Ernster <git@hardfalcon.net>
[reword subject, rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/brcm63xx/dts/usr9108.dts')
0 files changed, 0 insertions, 0 deletions