On Wed, Apr 14, 2021 at 12:41:28AM -0700, Michael Forney wrote: > offsetof is a standard C feature available from stddef.h, going > back all the way to ANSI C. > > Signed-off-by: Michael Forney <mforney@xxxxxxxxxxx> Thanks, applied. > Perhaps there is some reason to prefer compiler builtins over libc > that I'm not seeing? It's because I pulled container_of from the kernel, and the kernel header files has to provide offsetof since we don't use the standard header files --- and it has to work across a bunch of compilers and architectures. - Ted