Re: [PATCH net-next 1/2] net: add EXPORT_INDIRECT_CALLABLE wrapper
From: patchwork-bot+netdevbpf
Date: Thu Feb 04 2021 - 21:31:09 EST
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Thu, 4 Feb 2021 18:18:38 +0000 you wrote:
> When a static function is annotated with INDIRECT_CALLABLE_SCOPE and
> CONFIG_RETPOLINE is set, the static keyword is removed. Sometimes the
> function needs to be exported but EXPORT_SYMBOL can't be used because if
> CONFIG_RETPOLINE is not set, we will attempt to export a static symbol.
>
> This patch introduces a new indirect call wrapper:
> EXPORT_INDIRECT_CALLABLE. This basically does EXPORT_SYMBOL when
> CONFIG_RETPOLINE is set, but does nothing when it's not.
>
> [...]
Here is the summary with links:
- [net-next,1/2] net: add EXPORT_INDIRECT_CALLABLE wrapper
https://git.kernel.org/netdev/net-next/c/0053859496ba
- [net-next,2/2] net: fix building errors on powerpc when CONFIG_RETPOLINE is not set
https://git.kernel.org/netdev/net-next/c/9c97921a51a0
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html