Linux 5.4 Looks To Unify Way To Calculate The Size Of A Member Of A Struct

It has surprisingly taken until the Linux 5.4 kernel in 2019 to potentially have a single unified way for calculating the size of a member of a struct within the kernel: Linux 5.4 is looking at adding a new sizeof_member macro for handling this purpose…

Source: Phoronix – Linux 5.4 Looks To Unify Way To Calculate The Size Of A Member Of A Struct