Umm. But sparse is meant to parse C code. Which very much includes *other*
projects.
The kernel, for example, has its own offsetof. And yes, these days we use
"__compiler_offsetof()", but we used to do
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
and I seriously doubt that the kernel is the only one doing things like
that.
Linus
-