Re: [PATCH] elf_fdpic: fix unused variable warning

2017-10-12 Thread Al Viro
On Thu, Oct 12, 2017 at 05:31:46PM +0200, Arnd Bergmann wrote: > The elf_fdpic code shows a harmless warning when built with MMU disabled, > I ran into this now that fdpic is available on ARM randconfig builds > since commit 50b2b2e691cd ("ARM: add ELF_FDPIC support"). > > fs/binfmt_elf_fdpic.c: I

Re: [PATCH] elf_fdpic: fix unused variable warning

2017-10-12 Thread Arnd Bergmann
On Thu, Oct 12, 2017 at 5:21 PM, Nicolas Pitre wrote: > On Thu, 12 Oct 2017, Arnd Bergmann wrote: > >> The elf_fdpic code shows a harmless warning when built with MMU >> enabled, I ran into this now that the configuration is possible >> on ARM randconfig builds: >> >> fs/binfmt_elf_fdpic.c: In fun

Re: [PATCH] elf_fdpic: fix unused variable warning

2017-10-12 Thread Nicolas Pitre
On Thu, 12 Oct 2017, Arnd Bergmann wrote: > The elf_fdpic code shows a harmless warning when built with MMU > enabled, I ran into this now that the configuration is possible > on ARM randconfig builds: > > fs/binfmt_elf_fdpic.c: In function 'elf_fdpic_dump_segments': > fs/binfmt_elf_fdpic.c:1501: