Page MenuHomeFreeBSD

linuxkpi: Add offsetofend macro
ClosedPublic

Authored by manu on May 15 2020, 9:25 AM.

Details

Summary

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

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

manu requested review of this revision.May 15 2020, 9:25 AM
This revision was not accepted when it landed; it landed in state Needs Review.May 17 2020, 8:14 PM
This revision was automatically updated to reflect the committed changes.