aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dma-debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dma-debug.c b/lib/dma-debug.c
index 4a1515f4b452..51a76af25c66 100644
--- a/lib/dma-debug.c
+++ b/lib/dma-debug.c
@@ -657,9 +657,9 @@ static struct dma_debug_entry *dma_entry_alloc(void)
657 spin_lock_irqsave(&free_entries_lock, flags); 657 spin_lock_irqsave(&free_entries_lock, flags);
658 658
659 if (list_empty(&free_entries)) { 659 if (list_empty(&free_entries)) {
660 pr_err("DMA-API: debugging out of memory - disabling\n");
661 global_disable = true; 660 global_disable = true;
662 spin_unlock_irqrestore(&free_entries_lock, flags); 661 spin_unlock_irqrestore(&free_entries_lock, flags);
662 pr_err("DMA-API: debugging out of memory - disabling\n");
663 return NULL; 663 return NULL;
664 } 664 }
665 665