On Tue, Jun 4, 2019 at 7:15 PM Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> wrote: > > > Multiple people have suggested to compile-test UAPI headers. > > Currently, Kbuild provides simple sanity checks by headers_check > but they are not enough to catch bugs. > > The most recent patch I know is David Howells' work: > https://patchwork.kernel.org/patch/10590203/ > > I agree that we need better tests for UAPI headers, > but I want to integrate it in a clean way. > > The idea that has been in my mind is to compile each header > to make sure the selfcontainedness. For convenience, I pushed this series at git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git uapi-header-test-v1 (13/15 was replaced with v2) If you want to test it quickly, please check-out it, then $ make -j8 allmodconfig usr/ (As I noted in the commit log, you need to use a compiler that provides <stdlib.h>, <sys/time.h>, etc.) -- Best Regards Masahiro Yamada _______________________________________________ linux-snps-arc mailing list linux-snps-arc@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-snps-arc