Re: [PATCH] bna: Simplify DMA setting

From: patchwork-bot+netdevbpf
Date: Sun Jan 09 2022 - 20:01:28 EST


Hello:

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

On Sat, 8 Jan 2022 17:16:16 +0100 you wrote:
> As stated in [1], dma_set_mask() with a 64-bit mask will never fail if
> dev->dma_mask is non-NULL.
> So, if it fails, the 32 bits case will also fail for the same reason.
>
> So, if dma_set_mask_and_coherent() succeeds, 'using_dac' is known to be
> 'true'. This variable can be removed.
>
> [...]

Here is the summary with links:
- bna: Simplify DMA setting
https://git.kernel.org/netdev/net-next/c/9aaa82d2e8d5

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