linux-next: build failure
Subsystems (2)
Hi David,
Today's linux-next build (powerpc allnoconfig) failed like this:
In file included from arch/powerpc/include/asm/statfs.h:5,
from include/linux/statfs.h:7,
from include/linux/vfs.h:5,
from fs/open.c:23:include/asm-generic/statfs.h:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__u32' include/asm-generic/statfs.h:36: error: two or more data types in declaration specifiers include/asm-generic/statfs.h:36: warning: useless type name in empty declaration include/asm-generic/statfs.h:47: error: expected specifier-qualifier-list before '__statfs_word'
and it went downhill from there.
Introduced by commit 97bea16fbd30f35637447cf0884ac0e1fe467a37 ("Make <asm-generic/statfs.h> suitable for 64-bit platforms") from the dwmw2 tree. I applied the following patch.
Signature · 12 lines
Cheers, Stephen Rothwell [email protected] http://www.canb.auug.org.au/~sfr/ From: Stephen Rothwell <[email protected]> Date: Wed, 3 Sep 2008 18:37:34 +1000 Subject: [PATCH] statfs: fix typo Signed-off-by: Stephen Rothwell <[email protected]> --- include/asm-generic/statfs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
include/asm-generic/statfs.h +1 -1
@@ -17,7 +17,7 @@ typedef __kernel_fsid_t fsid_t;#if BITS_PER_LONG ==64 #define __statfs_word long#else -typedef __statfs_word __u32 +#define __statfs_word __u32#endif #endif
Signature · 1 line
1.5.6.5
include/asm-generic/statfs.h typedef __kernel_fsid_t fsid_t; · line 20
Quoted 2 lines · Stephen Rothwell
include/asm-generic/statfs.h +1
-1-typedef __statfs_word __u32 +#define __statfs_word __u32
Fixed in the git tree, and in the series I just sent out. Thanks.
Signature · 2 lines
David Woodhouse Open Source Technology Centre [email protected] Intel Corporation