Skip to contentSkip to conversation

Remove noisy warning from default_send_IPI_mask_logical

PATCH Dave Jones 1 participant 2 messages Jan 18, 2013 – Jan 24, 2013 x86

lore
Share & tools
lore

Dave Jones

author
#0 lore raw

Since circa 3.5, we've had dozens of reports of people hitting this warning. Forwarded reports have been met with silence, so just remove the warning if no-one cares.

Example reports:
https://bugzilla.redhat.com/show_bug.cgi?id=797687
https://bugzilla.redhat.com/show_bug.cgi?id=867174
https://bugzilla.redhat.com/show_bug.cgi?id=894865

arch/x86/kernel/apic/ipi.c +1 -1
index cce91bf..7434d85 100644
@@ -106,7 +106,7 @@ void default_send_IPI_mask_logical(const struct cpumask *cpumask, int vector)
 	unsigned long mask = cpumask_bits(cpumask)[0];
 	unsigned long flags;
 
-	if (WARN_ONCE(!mask, "empty IPI mask"))
+	if (!mask)
 		return;
 
 	local_irq_save(flags);
#1 lore raw

[tip:x86/apic] x86/apic: Remove noisy zero-mask warning from default_send_IPI_mask_logical()

Commit-ID:  e3f0f36ddf1b2743a0d4ea312996536a9c37e1c7
Gitweb:     http://git.kernel.org/tip/e3f0f36ddf1b2743a0d4ea312996536a9c37e1c7
Author:     Dave Jones <[email protected]>
AuthorDate: Fri, 18 Jan 2013 12:58:47 -0500
Committer:  Ingo Molnar <[email protected]>
CommitDate: Thu, 24 Jan 2013 12:12:42 +0100

x86/apic: Remove noisy zero-mask warning from default_send_IPI_mask_logical()

Since circa 3.5, we've had dozens of reports of people hitting this warning. Forwarded reports have been met with silence, so just remove the warning if no-one cares.

Example reports:

https://bugzilla.redhat.com/show_bug.cgi?id=797687
https://bugzilla.redhat.com/show_bug.cgi?id=867174
https://bugzilla.redhat.com/show_bug.cgi?id=894865

---
 arch/x86/kernel/apic/ipi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kernel/apic/ipi.c +1 -1
index cce91bf..7434d85 100644
@@ -106,7 +106,7 @@ void default_send_IPI_mask_logical(const struct cpumask *cpumask, int vector)
 	unsigned long mask = cpumask_bits(cpumask)[0];
 	unsigned long flags;
 
-	if (WARN_ONCE(!mask, "empty IPI mask"))
+	if (!mask)
 		return;
 
 	local_irq_save(flags);