Re: linux-next: build warning after merge of the tip tree

Stephen Rothwell
2010-02-23T10:43:56Z

[-- Attachment #1: Type: text/plain, Size: 1035 bytes --]

Hi,

On Tue, 23 Feb 2010 00:52:25 -0800 Yinghai Lu <yinghai@kernel.org> wrote:
>
> please check

This patch fixes the warnings for me, thanks.

> [PATCH] sparsemem: fix compiling with ppc
>
> Stephen reported:
> build (powerpc
> ppc64_defconfig) produced these warnings:
>
> mm/sparse.c: In function 'sparse_init':
> mm/sparse.c:488: warning: unused variable 'map_count'
> mm/sparse.c:484: warning: unused variable 'size2'
> mm/sparse.c:481: warning: unused variable 'map_map'
> mm/sparse.c: At top level:
> mm/sparse.c:442: warning: 'sparse_early_mem_maps_alloc_node' defined but not used
>
> Introduced by commit 9bdac914240759457175ac0d6529a37d2820bc4d
> ("sparsemem: Put mem map for one node together").
>
> use macro to fix them
>
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
> Signed-off-by: Yinghai Lu <yinghai@kernel.org>

Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]