summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorJustin Tee <justin.tee@broadcom.com>2026-03-31 13:59:19 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2026-04-02 21:34:01 -0400
commite32b5e8f09503be680bed75da51bb584134a1390 (patch)
tree2110a00262493a33a37918ab3a99ca71df96a0bf /tools/lib/python/kdoc
parent6446e8c2b6c76b4d253c46352540ca1f5fa3f854 (diff)
scsi: lpfc: Break out of IRQ affinity assignment when mask reaches nr_cpu_ids
The purpose of the lpfc_next_online_cpu() call is to save the CPU index for the next iteration of the for (index = 0; index < vectors; index++) loop. Because we’ve reached the last iteration of the loop, cpumask_next(cpu, aff_mask) returns nr_cpu_ids. Thus, if we already know we've reached the last iteration of the IRQ affinity assignment loop, then we can just break and exit. Signed-off-by: Justin Tee <justin.tee@broadcom.com> Link: https://patch.msgid.link/20260331205928.119833-2-justintee8345@gmail.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions