HomeFreeBSD

linuxkpi: Add offsetofend macro

Description

linuxkpi: Add offsetofend macro

This calculate the offset of the end of the member in the given struct.
Needed by DRM in Linux v5.3

Sponsored-by: The FreeBSD Foudation
Differential Revision: https://reviews.freebsd.org/D24849

Details

Provenance
manuAuthored on
Differential Revision
D24849: linuxkpi: Add offsetofend macro
Parents
rS361139: linuxkpi: Add __mutex_init
Branches
Unknown
Tags
Unknown