[PATCH 1/1] ARM: Reduce Netwinder startup message from warning to notice

From: Theuns Verwoerd
Date: Tue May 20 2014 - 02:04:46 EST


From: Theuns Verwoerd <theuns.verwoerd@xxxxxxxxxxxxxxxxxxx>

Reduce the level of the Netwinder floating point startup message from KERN_WARN
to KERN_NOTICE, since it is normal (correct) behaviour.

Signed-off-by: Theuns Verwoerd <theuns.verwoerd@xxxxxxxxxxxxxxxxxxx>

---

This is useful to support a test framework that monitors the kernel
for unexpected
warnings, in preference to white-listing the spurious warning. Tested on kernel
version 3.6.11.

diff --git a/arch/arm/nwfpe/fpmodule.c b/arch/arm/nwfpe/fpmodule.c
index 4e729f0..ad68be4 100644
--- a/arch/arm/nwfpe/fpmodule.c
+++ b/arch/arm/nwfpe/fpmodule.c
@@ -98,7 +98,7 @@ static int __init fpe_init(void)
return 0;

/* Display title, version and copyright information. */
- printk(KERN_WARNING "NetWinder Floating Point Emulator V0.97 ("
+ printk(KERN_NOTICE "NetWinder Floating Point Emulator V0.97 ("
NWFPE_BITS " precision)\n");

thread_register_notifier(&nwfpe_notifier_block);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/