summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ehca/ehca_irq.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paul.mckenney@linaro.org>2012-08-16 12:45:05 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-08-20 08:00:23 -0700
commitc0e12e51b0522f7f5f09ea90273dbb724afb054d (patch)
tree987d764ec50c9ef1a7ee27f6294eca322fad691a /drivers/infiniband/hw/ehca/ehca_irq.c
parent81942621bd6b70b1a1ac4692b3f8f3be65a91b44 (diff)
downloadlinux-c0e12e51b0522f7f5f09ea90273dbb724afb054d.tar.gz
linux-c0e12e51b0522f7f5f09ea90273dbb724afb054d.tar.bz2
linux-c0e12e51b0522f7f5f09ea90273dbb724afb054d.zip
infiniband: ehca: Fix while->do-while conversion typo
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>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_irq.c')
-rw-r--r--drivers/infiniband/hw/ehca/ehca_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c b/drivers/infiniband/hw/ehca/ehca_irq.c
index 4eeac40cd943..83a00955146b 100644
--- a/drivers/infiniband/hw/ehca/ehca_irq.c
+++ b/drivers/infiniband/hw/ehca/ehca_irq.c
@@ -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;