Re: [PATCH] ARM: don't export unused return_address()

2019-10-01 Thread Geert Uytterhoeven
Hi Arnd, On Fri, Sep 6, 2019 at 5:47 PM Arnd Bergmann wrote: > Without the frame pointer enabled, return_address() is an inline > function and does not need to be exported, as shown by this warning: > > WARNING: "return_address" [vmlinux] is a static EXPORT_SYMBOL_GPL > > Move the EXPORT_SYMBOL_G

Re: [PATCH] ARM: don't export unused return_address()

2019-09-23 Thread Masahiro Yamada
On Sat, Sep 7, 2019 at 12:47 AM Arnd Bergmann wrote: > > Without the frame pointer enabled, return_address() is an inline > function and does not need to be exported, as shown by this warning: > > WARNING: "return_address" [vmlinux] is a static EXPORT_SYMBOL_GPL > > Move the EXPORT_SYMBOL_GPL() in

[PATCH] ARM: don't export unused return_address()

2019-09-06 Thread Arnd Bergmann
Without the frame pointer enabled, return_address() is an inline function and does not need to be exported, as shown by this warning: WARNING: "return_address" [vmlinux] is a static EXPORT_SYMBOL_GPL Move the EXPORT_SYMBOL_GPL() into the #ifdef as well. Signed-off-by: Arnd Bergmann --- arch/ar