Re: [PATCH] crypto: qat - Use dma_set_mask_and_coherent to simplify code

2020-11-26 Thread Christophe JAILLET
Le 26/11/2020 à 13:04, Giovanni Cabiddu a écrit : Hi Christophe, On Sat, Nov 21, 2020 at 07:13:59AM +, 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. While at it, al

Re: [PATCH] crypto: qat - Use dma_set_mask_and_coherent to simplify code

2020-11-26 Thread Giovanni Cabiddu
Hi Christophe, On Sat, Nov 21, 2020 at 07:13:59AM +, 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. > > While at it, also remove some unless extra () in the 32 bits