[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201127062710.GI11448@gondor.apana.org.au>
Date: Fri, 27 Nov 2020 17:27:10 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: davem@...emloft.net, gcherian@...vell.com,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] crypto: cavium - Use dma_set_mask_and_coherent to
simplify code
On Sat, Nov 21, 2020 at 08:56:47AM +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@...adoo.fr>
> ---
> drivers/crypto/cavium/cpt/cptpf_main.c | 10 ++--------
> drivers/crypto/cavium/cpt/cptvf_main.c | 10 ++--------
> 2 files changed, 4 insertions(+), 16 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists