Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 259c4ddd authored by Rusty Russell's avatar Rusty Russell
Browse files

cpumask: use for_each_online_cpu() in drivers/infiniband/hw/ehca/ehca_irq.c



Impact: cleanup

In future, accessing cpu numbers beyond nr_cpu_ids (the runtime limit)
will be undefined.  We can avoid future problems by using
for_each_online_cpu() here.

Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Acked-by: default avatarHoang-Nam Nguyen <hnguyen@de.ibm.com>
Tested-by: default avatarHoang-Nam Nguyen <hnguyen@de.ibm.com>
Cc: Christoph Raisch <raisch@de.ibm.com>
parent ce47d974
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment