From: Nick Piggin Date: Wed, 4 Oct 2006 15:25:44 +0000 (+0200) Subject: [POWERPC] Fix harmless typo X-Git-Tag: v2.6.19-rc2~274^2~14 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=13a2eea1461f5d54cc5d58334fbde4bf4cc9cb23;p=~shefty%2Frdma-dev.git [POWERPC] Fix harmless typo Fix a typo. Noticed by the unlikely profiler. Signed-off-by: Nick Piggin Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/iommu.c b/arch/powerpc/kernel/iommu.c index ba069407172..f88a2a675d9 100644 --- a/arch/powerpc/kernel/iommu.c +++ b/arch/powerpc/kernel/iommu.c @@ -75,7 +75,7 @@ static unsigned long iommu_range_alloc(struct iommu_table *tbl, /* This allocator was derived from x86_64's bit string search */ /* Sanity check */ - if (unlikely(npages) == 0) { + if (unlikely(npages == 0)) { if (printk_ratelimit()) WARN_ON(1); return DMA_ERROR_CODE;