[PATCH 0/2] kbuild, uapi: Mark inner unions in packed structs as packed

From: Thomas Weißschuh

Date: Thu Jan 15 2026 - 02:36:00 EST


The unpacked unions within a packed struct generates alignment warnings
on clang for 32-bit ARM.

With the recent changes to compile-test the UAPI headers in more cases,
these warning in combination with CONFIG_WERROR breaks the build.

Fix the warnings.

Intended for the kbuild tree.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>
---
Thomas Weißschuh (2):
hyper-v: Mark inner union in hv_kvp_exchg_msg_value as packed
virt: vbox: uapi: Mark inner unions in packed structs as packed

include/uapi/linux/hyperv.h | 2 +-
include/uapi/linux/vbox_vmmdev_types.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
base-commit: e3970d77ec504e54c3f91a48b2125775c16ba4c0
change-id: 20260115-kbuild-alignment-vbox-d0409134d335

Best regards,
--
Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>