LinuxKPI: add FIELD_PREP_CONST()
authorBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 13 May 2024 17:40:26 +0000 (17:40 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Tue, 21 May 2024 23:27:10 +0000 (23:27 +0000)
commitbb025df257386c5d1087b652e8ed951bceb89862
tree297652e42502194928da77bbd7d4f34f33fe6566
parentba222f6fb4b226ab24beaa13a8591dcb624ae70f
LinuxKPI: add FIELD_PREP_CONST()

Add FIELD_PREP_CONST() like FIELD_PREP() without any extra checks likely
expected on this version in Linux.  This is called by an updated wireless
driver.

Sposnored by: The FreeBSD Foundation
MFC after: 3 days
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D45180
sys/compat/linuxkpi/common/include/linux/bitfield.h