mbox series

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

Message ID 20250604204742.21183-1-yury.norov@gmail.com
Headers show
Series crypto: replace cpumask_next with better API | expand

Message

Yury Norov June 4, 2025, 8:47 p.m. UTC
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(-)

Comments

Herbert Xu June 16, 2025, 2:57 a.m. UTC | #1
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.