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

Masahiro Yamada
2019-09-24T05:15:49Z

On Sat, Sep 7, 2019 at 12:47 AM Arnd Bergmann <arnd@arndb.de> 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() into the #ifdef as well.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>

--
Best Regards
Masahiro Yamada