Tom Rini
b8f2614eca
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 <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2025-11-15 11:45:29 +01:00
..
2020-01-07 18:08:20 +01:00
2019-03-14 21:03:14 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2021-11-07 18:36:55 +01:00
2023-10-12 08:32:27 +02:00
2025-07-03 11:32:49 +03:00
2022-01-29 10:23:40 +01:00
2025-11-15 11:36:08 +01:00
2024-07-15 12:12:18 -06:00
2022-01-29 10:23:40 +01:00
2025-07-26 07:37:03 +02:00
2022-01-29 10:23:40 +01:00
2022-02-03 12:16:01 -05:00
2018-05-10 20:38:35 -04:00
2024-07-15 12:12:18 -06:00
2025-04-19 12:47:17 +02:00
2025-07-26 07:37:03 +02:00
2022-01-29 10:23:40 +01:00
2022-10-06 22:54:58 +02:00
2022-02-03 12:16:01 -05:00
2023-04-08 07:46:44 +02:00
2024-06-30 13:58:31 +02:00
2022-01-29 10:23:40 +01:00
2024-10-30 14:54:08 +01:00
2025-04-11 13:27:54 +02:00
2024-12-04 12:24:38 +01:00
2024-12-04 12:24:38 +01:00
2024-07-15 12:12:18 -06:00
2019-05-07 21:10:04 +02:00
2022-09-30 02:03:23 +02:00
2023-06-16 06:48:46 +02:00
2020-03-22 11:06:23 +01:00
2020-05-07 18:23:16 +02:00
2023-12-21 08:54:37 -05:00
2024-01-29 11:29:19 +01:00
2023-12-21 08:54:37 -05:00
2019-06-01 22:40:24 +02:00
2023-06-16 06:45:19 +02:00
2022-02-03 12:16:01 -05:00
2022-01-29 10:23:40 +01:00
2022-01-29 10:23:40 +01:00
2022-01-29 10:23:40 +01:00
2025-11-15 11:45:29 +01:00
2025-01-05 02:30:48 +01:00
2022-01-29 10:23:40 +01:00
2024-01-26 14:16:17 +01:00
2022-01-29 10:23:40 +01:00
2022-01-29 10:23:40 +01:00
2024-03-21 06:56:13 +01:00
2022-10-06 22:54:58 +02:00
2022-05-03 21:39:22 +02:00
2024-03-21 06:56:14 +01:00
2022-11-22 11:54:30 +01:00
2024-05-01 08:39:18 +02:00
2024-05-01 08:39:16 +02:00
2024-05-01 08:39:18 +02:00
2022-10-06 22:54:58 +02:00
2022-09-09 16:07:54 +02:00
2020-08-01 11:58:39 +02:00
2025-07-03 12:25:56 +03:00