linux-next: build failure after merge of the moduleh tree

From: Stephen Rothwell
Date: Fri Jul 29 2011 - 02:48:35 EST


Hi Paul,

After merging the moduleh tree, today's linux-next build (powerpc
ppx44x_defconfig) failed like this:

cc1: warnings being treated as errors
arch/powerpc/mm/tlb_nohash.c:137:1: error: data definition has no type or storage class
arch/powerpc/mm/tlb_nohash.c:137:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/mm/tlb_nohash.c:137:1: error: parameter names (without types) in function declaration
arch/powerpc/mm/tlb_nohash.c:156:1: error: data definition has no type or storage class
arch/powerpc/mm/tlb_nohash.c:156:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/mm/tlb_nohash.c:156:1: error: parameter names (without types) in function declaration
arch/powerpc/mm/tlb_nohash.c:301:1: error: data definition has no type or storage class
arch/powerpc/mm/tlb_nohash.c:301:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/mm/tlb_nohash.c:301:1: error: parameter names (without types) in function declaration
arch/powerpc/mm/tlb_nohash.c:315:1: error: data definition has no type or storage class
arch/powerpc/mm/tlb_nohash.c:315:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/mm/tlb_nohash.c:315:1: error: parameter names (without types) in function declaration
cc1: warnings being treated as errors
arch/powerpc/platforms/44x/sam440ep.c:59:1: error: data definition has no type or storage class
arch/powerpc/platforms/44x/sam440ep.c:59:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/sam440ep.c:59:1: error: parameter names (without types) in function declaration
arch/powerpc/sysdev/ppc4xx_msi.c:265:15: error: 'THIS_MODULE' undeclared here (not in a function)
cc1: warnings being treated as errors
arch/powerpc/platforms/44x/ppc44x_simple.c:83:1: error: data definition has no type or storage class
arch/powerpc/platforms/44x/ppc44x_simple.c:83:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/ppc44x_simple.c:83:1: error: parameter names (without types) in function declaration
arch/powerpc/mm/dma-noncoherent.c:250:1: error: data definition has no type or storage class
arch/powerpc/mm/dma-noncoherent.c:250:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/mm/dma-noncoherent.c:250:1: error: parameter names (without types) in function declaration
arch/powerpc/mm/dma-noncoherent.c:312:1: error: data definition has no type or storage class
arch/powerpc/mm/dma-noncoherent.c:312:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/mm/dma-noncoherent.c:312:1: error: parameter names (without types) in function declaration
arch/powerpc/mm/dma-noncoherent.c:343:1: error: data definition has no type or storage class
arch/powerpc/mm/dma-noncoherent.c:343:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/mm/dma-noncoherent.c:343:1: error: parameter names (without types) in function declaration
arch/powerpc/mm/dma-noncoherent.c:401:1: error: data definition has no type or storage class
arch/powerpc/mm/dma-noncoherent.c:401:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/mm/dma-noncoherent.c:401:1: error: parameter names (without types) in function declaration
cc1: warnings being treated as errors
arch/powerpc/platforms/44x/warp.c:57:1: error: data definition has no type or storage class
arch/powerpc/platforms/44x/warp.c:57:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/warp.c:57:1: error: parameter names (without types) in function declaration
arch/powerpc/platforms/44x/warp.c:318:1: error: data definition has no type or storage classcc1: warnings being treated as errors
arch/powerpc/platforms/44x/virtex.c:54:1: error: data definition has no type or storage class
arch/powerpc/platforms/44x/virtex.c:54:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/virtex.c:54:1: error: parameter names (without types) in function declaration
cc1: warnings being treated as errors
arch/powerpc/platforms/44x/ebony.c:62:1: error: data definition has no type or storage class
arch/powerpc/platforms/44x/ebony.c:62:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/ebony.c:62:1: error: parameter names (without types) in function declaration
arch/powerpc/platforms/44x/warp.c:318:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/warp.c:318:1: error: parameter names (without types) in function declaration
arch/powerpc/platforms/44x/warp.c:319:1: error: data definition has no type or storage class
arch/powerpc/platforms/44x/warp.c:319:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/warp.c:319:1: error: parameter names (without types) in function declaration
cc1: warnings being treated as errors
arch/powerpc/platforms/44x/canyonlands.c:126:1: error: data definition has no type or storage class
arch/powerpc/platforms/44x/canyonlands.c:126:1: error: type defaults to 'int' in declaration of 'EXPORT_SYMBOL'
arch/powerpc/platforms/44x/canyonlands.c:126:1: error: parameter names (without types) in function declaration
arch/powerpc/kvm/44x.c: In function 'kvmppc_44x_init':
arch/powerpc/kvm/44x.c:168:59: error: 'THIS_MODULE' undeclared (first use in this function)
arch/powerpc/kvm/44x.c:169:1: error: control reaches end of non-void function

I have added this patch for today: