Re: linux-next: build warning after merge of the char-misc tree
From: Masahiro Yamada
Date: Tue Mar 28 2017 - 00:00:16 EST
Hi Stephen,
2017-03-28 12:31 GMT+09:00 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>:
> Hi all,
>
> After merging the char-misc tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> ./usr/include/linux/aspeed-lpc-ctrl.h:44: found __[us]{8,16,32,64} type without #include <linux/types.h>
>
> Introduced by commit
>
> 6c4e97678501 ("drivers/misc: Add Aspeed LPC control driver")
>
> Probably exposed by commit
>
> 65017bab8a9e ("uapi: export all headers under uapi directories")
>
> from the kbuild tree (since this header had not been explicitly exported).
I think we need to do a similar fixup as the following commit:
commit a9e9c248a03abae123b301804d367ad278dad3a8
Author: Nicolas Dichtel <nicolas.dichtel@xxxxxxxxx>
Date: Mon Mar 27 14:20:11 2017 +0200
uapi: includes linux/types.h before exporting files
--
Best Regards
Masahiro Yamada