diff options
author | Toomas Soome <tsoome@FreeBSD.org> | 2025-07-31 19:11:16 +0000 |
---|---|---|
committer | Toomas Soome <tsoome@FreeBSD.org> | 2025-07-31 22:04:32 +0000 |
commit | 733da235aa6a3c71d06b92a41656bad07fada5e6 (patch) | |
tree | 7950a24dfd40a1f4dd7f8c133b4b393d5c2f6bdd /sys/dev/syscons | |
parent | 0a3792d5c5764945259333db4c66774385f01ba7 (diff) |
loader ip implementation is using pointer to structure ip to receive
the packet and is using this pointer to cast on other data types
(namely structure arphdr). Problem does arise when those data structures
are declared with different alignment rules and when/if the compiler
does check those rules. To work around and silence warnings, use
void * generic pointer instead.
Error seen with gcc 14 (-Werror=address-of-packed-member).
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D51662
Diffstat (limited to 'sys/dev/syscons')
0 files changed, 0 insertions, 0 deletions