[PATCH] net: ipv6: fix alignment errors on ARM
Tom Rini
trini at konsulko.com
Fri Feb 3 19:20:20 CET 2023
On Wed, Jan 18, 2023 at 08:52:18PM +0300, Sergei Antonov wrote:
> Commands "ping6" and "tftpboot ... -ipv6" did not work on ARM because
> machine code expects 4-byte alignment and some structures from net6.h
> are not aligned in memory.
>
> Fix by adding __packed, since it is already used in this file.
>
> Signed-off-by: Sergei Antonov <saproj at gmail.com>
> Reviewed-by: Viacheslav Mitrofanov <v.v.mitrofanov at yadro.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230203/aa07feea/attachment.sig>
More information about the U-Boot
mailing list