[PATCH 0/2] crypto: replace cpumask_next with better API

Yury Norov posted 2 patches 6 months, 2 weeks ago
crypto/pcrypt.c          | 7 ++-----
drivers/crypto/caam/qi.c | 5 +----
2 files changed, 3 insertions(+), 9 deletions(-)
[PATCH 0/2] crypto: replace cpumask_next with better API
Posted by Yury Norov 6 months, 2 weeks ago
From: Yury Norov [NVIDIA]  <yury.norov@gmail.com>

Recently added cpumask_next_wrap() and cpumask_nth() work better than
cpumask_next(). Use them where appropriate.

Yury Norov [NVIDIA] (2):
  crypto: pcrypt: Optimize pcrypt_aead_init_tfm()
  crypto: caam - Fix opencoded cpumask_next_wrap() in
    caam_drv_ctx_init()

 crypto/pcrypt.c          | 7 ++-----
 drivers/crypto/caam/qi.c | 5 +----
 2 files changed, 3 insertions(+), 9 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] crypto: replace cpumask_next with better API
Posted by Herbert Xu 6 months ago
On Wed, Jun 04, 2025 at 04:47:39PM -0400, Yury Norov wrote:
> From: Yury Norov [NVIDIA]  <yury.norov@gmail.com>
> 
> Recently added cpumask_next_wrap() and cpumask_nth() work better than
> cpumask_next(). Use them where appropriate.
> 
> Yury Norov [NVIDIA] (2):
>   crypto: pcrypt: Optimize pcrypt_aead_init_tfm()
>   crypto: caam - Fix opencoded cpumask_next_wrap() in
>     caam_drv_ctx_init()
> 
>  crypto/pcrypt.c          | 7 ++-----
>  drivers/crypto/caam/qi.c | 5 +----
>  2 files changed, 3 insertions(+), 9 deletions(-)
> 
> -- 
> 2.43.0

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt