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

2020-11-24 Thread Jason Gunthorpe
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 > Acked-by: Mike Marciniszyn > --- > dr

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

2020-11-23 Thread Mike Marciniszyn
On 11/21/2020 4:51 AM, 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 Thanks for the patch. Looks ok to me. Acked-by: Mike Marcini