Re: [PATCH] tehuti: Use dma_set_mask_and_coherent() and simplify code

From: patchwork-bot+netdevbpf
Date: Sun Jan 02 2022 - 07:30:16 EST


Hello:

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

On Sat, 1 Jan 2022 15:48:25 +0100 you wrote:
> Use dma_set_mask_and_coherent() instead of unrolling it with some
> dma_set_mask()+dma_set_coherent_mask().
>
> Moreover, as stated in [1], dma_set_mask_and_coherent() 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.
>
> [...]

Here is the summary with links:
- tehuti: Use dma_set_mask_and_coherent() and simplify code
https://git.kernel.org/netdev/net-next/c/c95e078069bf

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