The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=3d505310b1bb259c3e5f39d8c88a465cf1403934
commit 3d505310b1bb259c3e5f39d8c88a465cf1403934 Author: Konstantin Belousov <[email protected]> AuthorDate: 2026-04-26 02:22:52 +0000 Commit: Konstantin Belousov <[email protected]> CommitDate: 2026-06-14 02:02:38 +0000 sys/rangelock.h: explicitly enumerate padding at the end of the structure Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D56912 --- sys/sys/rangelock.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/sys/rangelock.h b/sys/sys/rangelock.h index 32ccf3427b49..ea3d0c26cd30 100644 --- a/sys/sys/rangelock.h +++ b/sys/sys/rangelock.h @@ -50,6 +50,12 @@ struct rl_q_entry; struct rangelock { uintptr_t head; bool sleepers; + uint8_t resv1; + uint8_t resv2; + uint8_t resv3; +#if __SIZEOF_LONG__ >= 8 + uint32_t resv4; +#endif }; #ifdef _KERNEL
