aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-06-08 13:02:16 +0200
committerIngo Molnar <mingo@kernel.org>2016-06-08 13:02:16 +0200
commit8e8c668927b029f6ccc350eb1aa936864cc4eb6f (patch)
treef91ec6d49e2b01de5b4b3d517209d13b216a3f0f /lib/dma-debug.c
parentx86/cpu: Correct comments and messages in P4 erratum 037 handling code (diff)
parentx86/cpu/intel: Introduce macros for Intel family numbers (diff)
downloadlinux-rng-8e8c668927b029f6ccc350eb1aa936864cc4eb6f.tar.xz
linux-rng-8e8c668927b029f6ccc350eb1aa936864cc4eb6f.zip
Merge branch 'x86/urgent' into x86/cpu, to pick up dependency
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'lib/dma-debug.c')
-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)
spin_lock_irqsave(&free_entries_lock, flags);
if (list_empty(&free_entries)) {
- pr_err("DMA-API: debugging out of memory - disabling\n");
global_disable = true;
spin_unlock_irqrestore(&free_entries_lock, flags);
+ pr_err("DMA-API: debugging out of memory - disabling\n");
return NULL;
}