[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110712090156.c051d864.akpm@linux-foundation.org>
Date: Tue, 12 Jul 2011 09:01:56 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Michal Marek <mmarek@...e.cz>
Cc: linux-kernel@...r.kernel.org
Subject: Re: `make headers_check' bustage
On Tue, 12 Jul 2011 16:04:55 +0200 Michal Marek <mmarek@...e.cz> wrote:
> 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.
Well, it's a bit harmful - someone did an exit(non-zero) and `make'
terminates the build with a build error.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists