diff options
| author | Qian Cai <cai@lca.pw> | 2019-03-01 17:20:40 +0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-03-02 06:43:05 +0300 |
| commit | c38ca265525a00d635219450e8fcc858082ff630 (patch) | |
| tree | f839da0bab6e2e0ce29811b2ba7eeea0ef51721e /scripts/gcc-plugins/latent_entropy_plugin.c | |
| parent | 8132cf115efc3b3684bb5fd3bfdf6860886f0e47 (diff) | |
| download | linux-c38ca265525a00d635219450e8fcc858082ff630.tar.xz | |
powerpc/mm: fix "section_base" set but not used
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@lca.pw>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'scripts/gcc-plugins/latent_entropy_plugin.c')
0 files changed, 0 insertions, 0 deletions
