Re: arch/x86_64/mm/numa.c(124): remark #593: variable "bootmap_size" was set but nev

From: Adrian Bunk
Date: Wed Nov 22 2006 - 09:58:24 EST


On Wed, Nov 22, 2006 at 01:43:40PM +0100, Andi Kleen wrote:
> "d binderman" <dcb314@xxxxxxxxxxx> writes:
>
> > Hello there,
> >
> > I just tried to compile Linux kernel 2.6.18.3 with the Intel C
> > C compiler.
> >
> > The compiler said
> >
> > arch/x86_64/mm/numa.c(124): remark #593: variable "bootmap_size" was
> > set but never used
>
> Actually it looks like a real bug -- probably added recently with the
> new bootmap code.

No, this unused assignment is in all 2.6 kernels starting with 2.6.0 and
even in 2.4 .

> The bootmap should be reserved based on that size.
>
> -Andi

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/