infiniband: ehca: Fix while->do-while conversion typo
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 16 Aug 2012 19:45:05 +0000 (12:45 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 20 Aug 2012 15:00:23 +0000 (08:00 -0700)
This commit just adds a needed semicolon.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
drivers/infiniband/hw/ehca/ehca_irq.c

index 4eeac40..83a0095 100644 (file)
@@ -668,7 +668,7 @@ static int find_next_online_cpu(struct ehca_comp_pool *pool)
                if (cpu >= nr_cpu_ids)
                        cpu = cpumask_first(cpu_online_mask);
                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);
 
        return cpu;