Skip to contentSkip to conversation

linux-next: build warning after merge of the char-misc tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Mar 28, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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).

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen,

2017-03-28 12:31 GMT+09:00 Stephen Rothwell <[email protected]>:

Quoted 9 lines

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

Quoted 7 lines

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 <[email protected]>
Date:   Mon Mar 27 14:20:11 2017 +0200

uapi: includes linux/types.h before exporting files

Signature · 2 lines
Best Regards
Masahiro Yamada