lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 20 May 2014 18:04:40 +1200
From:	Theuns Verwoerd <theuns.verwoerd@...il.com>
To:	Russell King <linux@....linux.org.uk>
Cc:	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	theuns.verwoerd@...iedtelesis.co.nz, trivial@...nel.org
Subject: [PATCH 1/1] ARM: Reduce Netwinder startup message from warning to notice

From: Theuns Verwoerd <theuns.verwoerd@...iedtelesis.co.nz>

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@...iedtelesis.co.nz>

---

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ