Messages in this thread | | | Date | Tue, 24 Nov 2020 08:55:13 -0400 | From | Jason Gunthorpe <> | Subject | Re: [PATCH] IB/qib: Use dma_set_mask_and_coherent to simplify code |
| |
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@wanadoo.fr> > Acked-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com> > --- > drivers/infiniband/hw/qib/qib_pcie.c | 11 ++--------- > 1 file changed, 2 insertions(+), 9 deletions(-)
Applied to for-next, thanks
Jason
| |