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

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


Hello:

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

On Sun, 2 Jan 2022 10:20:05 +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:
- qed: Use dma_set_mask_and_coherent() and simplify code
https://git.kernel.org/netdev/net-next/c/4f9f531e1505

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