lkml.org 
[lkml]   [2010]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: compiler warnings in 2.6.35.2
On Tue, Aug 17, 2010 at 08:31:59AM +0200, Borislav Petkov wrote:
> From: Chris Frey <cdfrey@foursquare.net>
> Date: Tue, Aug 17, 2010 at 02:28:01AM -0400
>
> > > > CC mm/swap.o
> > > > In file included from include/linux/kobject.h:21,
> > > > from include/linux/sched.h:91,
> > > > from mm/swap.c:17:
> > > > include/linux/sysfs.h:183: warning: parameter has incomplete type
> > > > /home/cdfrey/kernel/git/linux/arch/x86/include/asm/cpufeature.h: In function `__static_cpu_has':
> > > > /home/cdfrey/kernel/git/linux/arch/x86/include/asm/cpufeature.h:315: warning: asm operand 1 probably doesn't match constraints
> > >
> > > Which compiler version are you using?
> >
> > GCC 3.3
>
> Any chance to upgrade to a 4.x version?

I could, but Documentation/Changes says gcc 3.2 is the minimum, so I hoped
3.3 would be sufficient.

As for the first warning, doesn't it just need include/linux/kobject.h
to be included for the enum type?

As for the second warning, I'm not sure I even understand it.

- Chris



\
 
 \ /
  Last update: 2010-08-17 17:57    [W:0.063 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site