Patchwork [Quantal,Raring] x86/apic: Remove noisy zero-mask warning from default_send_IPI_mask_logical()

login
register
mail settings
Submitter Luis Henriques
Date March 18, 2013, 11:58 a.m.
Message ID <1363607889-9571-1-git-send-email-luis.henriques@canonical.com>
Download mbox | patch
Permalink /patch/228449/
State New
Headers show

Comments

Luis Henriques - March 18, 2013, 11:58 a.m.
From: Dave Jones <davej@redhat.com>

BugLink: http://bugs.launchpad.net/bugs/1100202

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

Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/20130118175847.GA27662@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit e3f0f36ddf1b2743a0d4ea312996536a9c37e1c7)

Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
---
 arch/x86/kernel/apic/ipi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Tim Gardner - March 18, 2013, 1:45 p.m.

Patch

diff --git a/arch/x86/kernel/apic/ipi.c b/arch/x86/kernel/apic/ipi.c
index cce91bf..7434d85 100644
--- a/arch/x86/kernel/apic/ipi.c
+++ b/arch/x86/kernel/apic/ipi.c
@@ -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);