[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <162832620705.3915.11584546852979312079.git-patchwork-notify@kernel.org>
Date: Sat, 07 Aug 2021 08:50:07 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Nathan Chancellor <nathan@...nel.org>
Cc: peppe.cavallaro@...com, alexandre.torgue@...s.st.com,
joabreu@...opsys.com, davem@...emloft.net, kuba@...nel.org,
mcoquelin.stm32@...il.com, ndesaulniers@...gle.com,
netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com, samitolvanen@...gle.com
Subject: Re: [PATCH] net: ethernet: stmmac: Do not use unreachable() in
ipq806x_gmac_probe()
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Fri, 6 Aug 2021 12:13:40 -0700 you wrote:
> When compiling with clang in certain configurations, an objtool warning
> appears:
>
> drivers/net/ethernet/stmicro/stmmac/dwmac-ipq806x.o: warning: objtool:
> ipq806x_gmac_probe() falls through to next function phy_modes()
>
> This happens because the unreachable annotation in the third switch
> statement is not eliminated. The compiler should know that the first
> default case would prevent the second and third from being reached as
> the comment notes but sanitizer options can make it harder for the
> compiler to reason this out.
>
> [...]
Here is the summary with links:
- net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe()
https://git.kernel.org/netdev/net-next/c/4367355dd909
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists