Re: `make headers_check' bustage

From: Michal Marek
Date: Tue Jul 12 2011 - 10:05:04 EST


On 8.7.2011 02:16, Andrew Morton wrote:
It is just me, or is headers_check busted in current -linus?

z:/usr/src/25> make mrproper; make allmodconfig; make headers_check
...
/usr/src/25/usr/include/linux/kernel.h:65: userspace cannot reference function or variable defined in the kernel

Introduced by 7ef88ad5 (BUILD_BUG_ON: make it handle more cases), the whole BUILD_BUG_ON stuff should be hidden behind #ifdef __KERNEL__, but it's pretty harmless.


/usr/src/25/usr/include/linux/quota.h:175: userspace cannot reference function or variable defined in the kernel

That's actualy a false positive, the header defines a prototype for the quotactl() syscall.


/usr/src/25/usr/include/linux/sdla.h:116: userspace cannot reference function or variable defined in the kernel

That looks indeed bogus, there is no sdla() syscall.


/usr/src/25/usr/include/linux/soundcard.h:1054: userspace cannot reference function or variable defined in the kernel

As Vitaliy wrote, this is a leftover after 43a9907.

Nevertheless, these errors are pretty harmless, the prototypes do not break parsing the header when compiling userspace programs.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/