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

From: patchwork-bot+netdevbpf
Date: Mon Jan 03 2022 - 05:50:17 EST


Hello:

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

On Sun, 2 Jan 2022 21:27:39 +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:
- ethernet: s2io: Use dma_set_mask_and_coherent() and simplify code
https://git.kernel.org/netdev/net-next/c/7120075ec41a

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