Re: [PATCH] s390/net: lcs: use IS_ENABLED() for kconfig detection

From: patchwork-bot+netdevbpf
Date: Fri Jun 16 2023 - 04:10:27 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Thu, 15 Jun 2023 15:21:52 -0700 you wrote:
> When CONFIG_ETHERNET=m or CONFIG_FDDI=m, lcs.s has build errors or
> warnings:
>
> ../drivers/s390/net/lcs.c:40:2: error: #error Cannot compile lcs.c without some net devices switched on.
> 40 | #error Cannot compile lcs.c without some net devices switched on.
> ../drivers/s390/net/lcs.c: In function 'lcs_startlan_auto':
> ../drivers/s390/net/lcs.c:1601:13: warning: unused variable 'rc' [-Wunused-variable]
> 1601 | int rc;
>
> [...]

Here is the summary with links:
- s390/net: lcs: use IS_ENABLED() for kconfig detection
https://git.kernel.org/netdev/net-next/c/128272336120

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