Skip to content
Snippets Groups Projects
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
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment