diff options
| author | Tom Rini <[email protected]> | 2025-11-06 17:28:39 -0600 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2025-11-15 11:45:29 +0100 |
| commit | b8f2614ecaca83b381a92af54e5e38eefaf7646f (patch) | |
| tree | b1aa2418e9ee48ff3ac2fc52d0d4735b2a65ee6b /include/linux | |
| parent | e0adf4c5a44a026aa158c456a29b7f7d64c90f9d (diff) | |
efi_selftest: efi_selftest_snp: Fix warning when building with clang
When building with clang, we see a warning:
lib/efi_selftest/efi_selftest_snp.c:63:18: error: field dhcp_hdr within
'struct dhcp' is less aligned than 'struct dhcp_hdr' and is usually due
to 'struct dhcp' being packed, which can lead to unaligned accesses
[-Werror,-Wunaligned-access]
when building lib/efi_selftest/efi_selftest_snp.c. Resolve this error by
packing struct dhcp_hdr as well, as the only place it is used also is
packed.
Signed-off-by: Tom Rini <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
