diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-08-23 11:00:38 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-23 11:28:21 +0200 |
commit | 3accc0faef081b6813967b34f7d05a3edb855cbd (patch) | |
tree | 66929c2a93b243dea7167d94bb6dec265fdb0478 /arch/powerpc/include | |
parent | powerpc/syscalls: Remove __NR__exit (diff) | |
download | linux-3accc0faef081b6813967b34f7d05a3edb855cbd.tar.xz linux-3accc0faef081b6813967b34f7d05a3edb855cbd.zip |
powerpc/prom: Fix unused variable ‘reserve_map’ when CONFIG_PPC32 is not set
This fixes a compile error with W=1.
arch/powerpc/kernel/prom.c: In function ‘early_reserve_mem’:
arch/powerpc/kernel/prom.c:625:10: error: variable ‘reserve_map’ set but not used [-Werror=unused-but-set-variable]
__be64 *reserve_map;
^~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210823090039.166120-2-clg@kaod.org
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions