Re: [PATCH net-next v3] net: phy: qca807x: fix compilation when CONFIG_GPIOLIB is not set

From: patchwork-bot+netdevbpf
Date: Wed Mar 06 2024 - 23:50:46 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 5 Mar 2024 15:20:33 +0100 you wrote:
> Kernel bot has discovered that if CONFIG_GPIOLIB is not set compilation
> will fail.
>
> Upon investigation the issue is that qca807x_gpio() is guarded by a
> preprocessor check but then it is called under
> if (IS_ENABLED(CONFIG_GPIOLIB)) in the probe call so the compiler will
> error out since qca807x_gpio() has not been declared if CONFIG_GPIOLIB has
> not been set.
>
> [...]

Here is the summary with links:
- [net-next,v3] net: phy: qca807x: fix compilation when CONFIG_GPIOLIB is not set
https://git.kernel.org/netdev/net-next/c/1677293ed891

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