Re: [PATCH net-next v2] net: ipa: always inline ipa_aggr_granularity_val()
From: patchwork-bot+netdevbpf
Date: Thu Aug 12 2021 - 18:00:13 EST
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Wed, 11 Aug 2021 08:59:48 -0500 you wrote:
> It isn't required, but all callers of ipa_aggr_granularity_val()
> pass a constant value (IPA_AGGR_GRANULARITY) as the usec argument.
> Two of those callers are in ipa_validate_build(), with the result
> being passed to BUILD_BUG_ON().
>
> Evidently the "sparc64-linux-gcc" compiler (at least) doesn't always
> inline ipa_aggr_granularity_val(), so the result of the function is
> not constant at compile time, and that leads to build errors.
>
> [...]
Here is the summary with links:
- [net-next,v2] net: ipa: always inline ipa_aggr_granularity_val()
https://git.kernel.org/netdev/net-next/c/676eec8efd8e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html