Re: [PATCH -next] octeontx2-pf: Fix unused variable build error

From: patchwork-bot+netdevbpf
Date: Tue Sep 20 2022 - 20:00:33 EST


Hello:

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

On Mon, 19 Sep 2022 10:58:40 +0800 you wrote:
> If CONFIG_DCB is not set,
> make ARCH=x86_64 CROSS_COMPILE=x86_64-linux-gnu-,
> will be failed, like this:
>
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c: In function ‘otx2_select_queue’:
> drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c:1886:19: error: unused variable ‘pf’ [-Werror=unused-variable]
> struct otx2_nic *pf = netdev_priv(netdev);
> ^~
> cc1: all warnings being treated as errors
>
> [...]

Here is the summary with links:
- [-next] octeontx2-pf: Fix unused variable build error
https://git.kernel.org/netdev/net-next/c/54b9a2bb6c01

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