Messages in this thread | | | Date | Thu, 24 Jul 2008 12:12:18 -0700 | From | Mike Travis <> | Subject | Re: [PATCH 1/1] cpumask: Change cpumask_of_cpu to use cpumask_of_cpu_map |
| |
Mike Travis wrote: > Ingo Molnar wrote: >> found a build failure with your patch: >> >> init/main.c:493: error: array index in non-array initializer >> init/main.c:493: error: (near initialization for 'cpumask_of_cpu_map[0]') >> init/main.c:494: warning: missing braces around initializer >> init/main.c:494: warning: (near initialization for 'cpumask_of_cpu_map[0].bits') >> >> with this config: >> >> http://redhat.com/~mingo/misc/config-Thu_Jul_24_13_44_56_CEST_2008.bad >> >> Ingo > > Hmm, it does not fail for me... > > 12> gcc --version > gcc (GCC) 4.2.4 > Copyright (C) 2007 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > There are a number of warnings but none of the files are related to this patch. > > (I'm still on hold until our sys admin gets back from vacation to install > gcc-4.2.3.)
It does not fail on gcc-4.2.3 either... ?
(btw, I'm merging Rusty's changes into this patch so the issue should be moot soon.)
Thanks, Mike
| |