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

From: patchwork-bot+netdevbpf
Date: Sun Jan 02 2022 - 11:20:24 EST


Hello:

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

On Sat, 1 Jan 2022 22:15:29 +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() 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:
- chelsio: cxgb: Use dma_set_mask_and_coherent() and simplify code
https://git.kernel.org/netdev/net-next/c/1aae5cc0a55c

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