[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <44CLwm3ckwz9s47@ozlabs.org>
Date: Mon, 4 Mar 2019 11:48:08 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Qian Cai <cai@....pw>, benh@...nel.crashing.org, paulus@...ba.org
Cc: Qian Cai <cai@....pw>, linuxppc-dev@...ts.ozlabs.org, hch@....de,
linux-kernel@...r.kernel.org
Subject: Re: [v2] powerpc/mm: fix "section_base" set but not used
On Fri, 2019-03-01 at 14:20:40 UTC, Qian Cai wrote:
> The commit 24b6d4164348 ("mm: pass the vmem_altmap to vmemmap_free")
> removed a line in vmemmap_free(),
>
> altmap = to_vmem_altmap((unsigned long) section_base);
>
> but left a variable no longer used.
>
> arch/powerpc/mm/init_64.c: In function 'vmemmap_free':
> arch/powerpc/mm/init_64.c:277:16: error: variable 'section_base' set but
> not used [-Werror=unused-but-set-variable]
>
> Signed-off-by: Qian Cai <cai@....pw>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/c38ca265525a00d635219450e8fcc858
cheers
Powered by blists - more mailing lists