Re: `make headers_check' bustage

From: Michal Marek
Date: Tue Jul 12 2011 - 12:34:15 EST


On 12.7.2011 18:01, Andrew Morton wrote:
On Tue, 12 Jul 2011 16:04:55 +0200 Michal Marek<mmarek@xxxxxxx> wrote:
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.

That's strange, scripts/headers_check.pl only exits with non-zero if it finds that a included header file is not exported:

printf STDERR "$filename:$lineno: included file '$inc' is not exported\n";
$ret = 1;

in all other cases the $ret assignment is commented out:

# Warn until headers are all fixed
#$ret = 1;

and it works for me on both v3.0-rc7 and next-20110707.

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/