From a770638ecf16515d8922111c3fdd417aba6c045e Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 26 Apr 2026 05:22:52 +0300 Subject: [PATCH] sys/rangelock.h: explicitly enumerate padding at the end of the structure Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: --- sys/sys/rangelock.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/sys/rangelock.h b/sys/sys/rangelock.h index 32ccf3427b4..3169c251a49 100644 --- a/sys/sys/rangelock.h +++ b/sys/sys/rangelock.h @@ -50,6 +50,9 @@ struct rl_q_entry; struct rangelock { uintptr_t head; bool sleepers; + uint8_t resv0; + uint16_t resv1; + uint32_t resv2; }; #ifdef _KERNEL