Re: [PATCH] [v2] gve: DQO: avoid unused variable warnings
From: patchwork-bot+netdevbpf
Date: Tue Sep 28 2021 - 10:30:10 EST
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Tue, 28 Sep 2021 16:15:13 +0200 you wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The use of dma_unmap_addr()/dma_unmap_len() in the driver causes
> multiple warnings when these macros are defined as empty, e.g.
> in an ARCH=i386 allmodconfig build:
>
> drivers/net/ethernet/google/gve/gve_tx_dqo.c: In function 'gve_tx_add_skb_no_copy_dqo':
> drivers/net/ethernet/google/gve/gve_tx_dqo.c:494:40: error: unused variable 'buf' [-Werror=unused-variable]
> 494 | struct gve_tx_dma_buf *buf =
>
> [...]
Here is the summary with links:
- [v2] gve: DQO: avoid unused variable warnings
https://git.kernel.org/netdev/net-next/c/1e0083bd0777
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html