Commit 13a2eea1 authored by Nick Piggin's avatar Nick Piggin Committed by Paul Mackerras
Browse files

[POWERPC] Fix harmless typo



Fix a typo. Noticed by the unlikely profiler.
Signed-off-by: default avatarNick Piggin <npiggin@suse.de>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 3211be5c
...@@ -75,7 +75,7 @@ static unsigned long iommu_range_alloc(struct iommu_table *tbl, ...@@ -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 */ /* This allocator was derived from x86_64's bit string search */
/* Sanity check */ /* Sanity check */
if (unlikely(npages) == 0) { if (unlikely(npages == 0)) {
if (printk_ratelimit()) if (printk_ratelimit())
WARN_ON(1); WARN_ON(1);
return DMA_ERROR_CODE; return DMA_ERROR_CODE;
......
Supports Markdown
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