Re: [PATCH] IB/qib: Use dma_set_mask_and_coherent to simplify code

From: Jason Gunthorpe
Date: Tue Nov 24 2020 - 07:55:55 EST


On Sat, Nov 21, 2020 at 10:51:27AM +0100, Christophe JAILLET wrote:
> 'pci_set_dma_mask()' + 'pci_set_consistent_dma_mask()' can be replaced by
> an equivalent 'dma_set_mask_and_coherent()' which is much less verbose.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> Acked-by: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/infiniband/hw/qib/qib_pcie.c | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)

Applied to for-next, thanks

Jason