[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168195541930.13596.18249490996446633117.git-patchwork-notify@kernel.org>
Date: Thu, 20 Apr 2023 01:50:19 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Simon Horman <horms@...nel.org>
Cc: kuba@...nel.org, davem@...emloft.net, edumazet@...gle.com,
pabeni@...hat.com, peppe.cavallaro@...com,
alexandre.torgue@...s.st.com, joabreu@...opsys.com,
neil.armstrong@...aro.org, khilman@...libre.com,
jbrunet@...libre.com, martin.blumenstingl@...glemail.com,
mcoquelin.stm32@...il.com, nathan@...nel.org,
ndesaulniers@...gle.com, trix@...hat.com, netdev@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org,
linux-stm32@...md-mailman.stormreply.com, llvm@...ts.linux.dev
Subject: Re: [PATCH net-next] net: stmmac: dwmac-meson8b: Avoid cast to
incompatible function type
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 18 Apr 2023 13:07:33 +0200 you wrote:
> Rather than casting clk_disable_unprepare to an incompatible function
> type provide a trivial wrapper with the correct signature for the
> use-case.
>
> Reported by clang-16 with W=1:
>
> drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c:276:6: error: cast from 'void (*)(struct clk *)' to 'void (*)(void *)' converts to incompatible function type [-Werror,-Wcast-function-type-strict]
> (void(*)(void *))clk_disable_unprepare,
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> No functional change intended.
> Compile tested only.
>
> [...]
Here is the summary with links:
- [net-next] net: stmmac: dwmac-meson8b: Avoid cast to incompatible function type
https://git.kernel.org/netdev/net-next/c/43bb6100d8d5
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