[PATCH net-next, v3] net: ethernet: mediatek: ppe: fix busy wait loop

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Fri Apr 16 23:30:12 BST 2021


Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Thu, 15 Apr 2021 17:37:48 -0700 you wrote:
> The intention is for the loop to timeout if the body does not succeed.
> The current logic calls time_is_before_jiffies(timeout) which is false
> until after the timeout, so the loop body never executes.
> 
> Fix by using readl_poll_timeout as a more standard and less error-prone
> solution.
> 
> [...]

Here is the summary with links:
  - [net-next,v3] net: ethernet: mediatek: ppe: fix busy wait loop
    https://git.kernel.org/netdev/net-next/c/c5d66587b890

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





More information about the Linux-mediatek mailing list