From: patchwork-bot+netdevbpf@kernel•org
To: Simon Horman <horms@kernel•org>
Cc: kuba@kernel•org, davem@davemloft•net, edumazet@google•com,
pabeni@redhat•com, peppe.cavallaro@st•com,
alexandre.torgue@foss•st.com, joabreu@synopsys•com,
neil.armstrong@linaro•org, khilman@baylibre•com,
jbrunet@baylibre•com, martin.blumenstingl@googlemail•com,
mcoquelin.stm32@gmail•com, nathan@kernel•org,
ndesaulniers@google•com, trix@redhat•com, netdev@vger•kernel.org,
linux-arm-kernel@lists•infradead.org,
linux-amlogic@lists•infradead.org,
linux-stm32@st-md-mailman•stormreply.com, llvm@lists•linux.dev
Subject: Re: [PATCH net-next] net: stmmac: dwmac-meson8b: Avoid cast to incompatible function type
Date: Thu, 20 Apr 2023 01:50:19 +0000 [thread overview]
Message-ID: <168195541930.13596.18249490996446633117.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20230418-dwmac-meson8b-clk-cb-cast-v1-1-e892b670cbbb@kernel.org>
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel•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
prev parent reply other threads:[~2023-04-20 1:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-18 11:07 [PATCH net-next] net: stmmac: dwmac-meson8b: Avoid cast to incompatible function type Simon Horman
2023-04-18 18:36 ` Nick Desaulniers
2023-04-20 1:50 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=168195541930.13596.18249490996446633117.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel$(echo .)org \
--cc=alexandre.torgue@foss$(echo .)st.com \
--cc=davem@davemloft$(echo .)net \
--cc=edumazet@google$(echo .)com \
--cc=horms@kernel$(echo .)org \
--cc=jbrunet@baylibre$(echo .)com \
--cc=joabreu@synopsys$(echo .)com \
--cc=khilman@baylibre$(echo .)com \
--cc=kuba@kernel$(echo .)org \
--cc=linux-amlogic@lists$(echo .)infradead.org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-stm32@st-md-mailman$(echo .)stormreply.com \
--cc=llvm@lists$(echo .)linux.dev \
--cc=martin.blumenstingl@googlemail$(echo .)com \
--cc=mcoquelin.stm32@gmail$(echo .)com \
--cc=nathan@kernel$(echo .)org \
--cc=ndesaulniers@google$(echo .)com \
--cc=neil.armstrong@linaro$(echo .)org \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=peppe.cavallaro@st$(echo .)com \
--cc=trix@redhat$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox