Commit c0e12e51 authored by Paul E. McKenney's avatar Paul E. McKenney Committed by Paul E. McKenney

infiniband: ehca: Fix while->do-while conversion typo

This commit just adds a needed semicolon.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarPaul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
parent 81942621
...@@ -668,7 +668,7 @@ static int find_next_online_cpu(struct ehca_comp_pool *pool) ...@@ -668,7 +668,7 @@ static int find_next_online_cpu(struct ehca_comp_pool *pool)
if (cpu >= nr_cpu_ids) if (cpu >= nr_cpu_ids)
cpu = cpumask_first(cpu_online_mask); cpu = cpumask_first(cpu_online_mask);
pool->last_cpu = cpu; pool->last_cpu = cpu;
} while (!per_cpu_ptr(pool->cpu_comp_tasks, cpu)->active) } while (!per_cpu_ptr(pool->cpu_comp_tasks, cpu)->active);
spin_unlock_irqrestore(&pool->last_cpu_lock, flags); spin_unlock_irqrestore(&pool->last_cpu_lock, flags);
return cpu; return cpu;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment