]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: lpfc: switch lpfc_irq_rebalance() to using cpumask_next_wrap()
authorYury Norov <yury.norov@gmail.com>
Tue, 28 Jan 2025 16:46:39 +0000 (11:46 -0500)
committerYury Norov <yury.norov@gmail.com>
Mon, 24 Feb 2025 21:37:23 +0000 (16:37 -0500)
commit6fef7ed1587c7c1a9288966435dc97072b6f01cc
treec7323a55b89a59cce3538a23532a1b44673f9549
parent0cad4092858767cb54b5ec9be5b3fc39756abd46
scsi: lpfc: switch lpfc_irq_rebalance() to using cpumask_next_wrap()

Calling cpumask_next_wrap_old() with starting CPU equal to wrapping CPU
is the same as request to find next CPU, wrapping around if needed.

cpumask_next_wrap() is the proper replacement for that.

Reviewed-by: Justin Tee <justin.tee@broadcom.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
drivers/scsi/lpfc/lpfc_init.c