Re: RFC: cleaning up the in-kernel headers

David Woodhouse
2006-07-11T21:03:59Z

On Tue, 2006-07-11 at 18:33 +0100, Christoph Hellwig wrote:
> On Tue, Jul 11, 2006 at 05:28:43PM +0100, David Woodhouse wrote:
> > It would be nice in the general case if we could actually _compile_ each
> > header file, standalone. There may be some cases where that doesn't
> > work, but it's a useful goal in most cases, for bother exported headers
> > _and_ the in-kernel version. For the former case it would be nice to add
> > it to 'make headers_check' once it's realistic to do so.
>
> That would be extremly valueable. Maybe one of the kbuild gurus could
> cook up a make checkheaders rule that does this?

We already have it for _exported_ headers -- run 'make headers_check'.
It doesn't do much yet though.

--
dwmw2