Messages in this thread | | | Date | Tue, 12 Jul 2011 16:04:55 +0200 | From | Michal Marek <> | Subject | Re: `make headers_check' bustage |
| |
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
| |