HomeFreeBSD

LinuxKPI: add FIELD_PREP_CONST()

Description

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
Differential Revision: https://reviews.freebsd.org/D45180

(cherry picked from commit bb025df257386c5d1087b652e8ed951bceb89862)

Details

Provenance
bzAuthored on May 13 2024, 5:40 PM
Differential Revision
D45180: LinuxKPI: add FIELD_PREP_CONST()
Parents
rGa87e584f6c9d: LinuxKPI: add kvmemdup()
Branches
Unknown
Tags
Unknown