From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyrill Gorcunov Subject: Re: [PATCH -next] x86: apic_flat_64.c needs module.h Date: Mon, 23 May 2011 22:09:04 +0400 Message-ID: <4DDAA2C0.7080108@gmail.com> References: <20110523154518.5e27cfb0.sfr@canb.auug.org.au> <20110523104300.dd532a99.randy.dunlap@oracle.com> <4DDA9EAB.40304@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ew0-f46.google.com ([209.85.215.46]:36788 "EHLO mail-ew0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932112Ab1EWSJJ (ORCPT ); Mon, 23 May 2011 14:09:09 -0400 In-Reply-To: <4DDA9EAB.40304@gmail.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: Randy Dunlap Cc: Stephen Rothwell , x86@kernel.org, linux-next@vger.kernel.org, LKML , Ingo Molnar , Suresh Siddha On 05/23/2011 09:51 PM, Cyrill Gorcunov wrote: > On 05/23/2011 09:43 PM, Randy Dunlap wrote: >> From: Randy Dunlap >> >> apic_flat_64.c needs to include module.h to fix these warnings: >> >> arch/x86/kernel/apic/apic_flat_64.c:31: warning: data definition has no type or storage class >> arch/x86/kernel/apic/apic_flat_64.c:31: warning: type defaults to 'int' in declaration of 'EXPORT_SYMBOL_GPL' >> arch/x86/kernel/apic/apic_flat_64.c:31: warning: parameter names (without types) in function declaration >> >> Signed-off-by: Randy Dunlap >> --- >> arch/x86/kernel/apic/apic_flat_64.c | 1 + >> 1 file changed, 1 insertion(+) >> >> --- linux-next-20110523.orig/arch/x86/kernel/apic/apic_flat_64.c >> +++ linux-next-20110523/arch/x86/kernel/apic/apic_flat_64.c >> @@ -16,6 +16,7 @@ >> #include >> #include >> #include >> +#include >> #include >> #include >> #include > > Thanks Randy! For some reason I didn't hit this problem while > were compiling the kernel and testing it (I usually do not use > modules though). > > I've CC'ed Ingo and Suresh. > Randy, while adding module.h here is correct I fail to see why I didn't hit this problem before, could you please post your config? -- Cyrill