public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] intel-rng: Undo mess made by an 80 column extremist
@ 2007-06-07 15:22 Alan Cox
  2007-06-07 15:23 ` Jeff Garzik
  2007-06-07 21:17 ` Krzysztof Halasa
  0 siblings, 2 replies; 23+ messages in thread
From: Alan Cox @ 2007-06-07 15:22 UTC (permalink / raw)
  To: akpm, linux-kernel, jeff

The intel-rng printed a nice well formatted message when the port was
disabled. Someone then came along and blindly trashed it by screwing up a
trim down to 80 columns.

Put it back into the right format and keep the overlong lines as the
result is also MUCH easier to read in this specific case.

Signed-off-by: Alan Cox <alan@redhat.com>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.22-rc4-mm2/drivers/char/hw_random/intel-rng.c linux-2.6.22-rc4-mm2/drivers/char/hw_random/intel-rng.c
--- linux.vanilla-2.6.22-rc4-mm2/drivers/char/hw_random/intel-rng.c	2007-06-07 14:25:57.000000000 +0100
+++ linux-2.6.22-rc4-mm2/drivers/char/hw_random/intel-rng.c	2007-06-07 14:32:36.000000000 +0100
@@ -296,12 +296,10 @@
 	     (BIOS_CNTL_LOCK_ENABLE_MASK|BIOS_CNTL_WRITE_ENABLE_MASK))
 	    == BIOS_CNTL_LOCK_ENABLE_MASK) {
 		static __initdata /*const*/ char warning[] =
-			KERN_WARNING PFX "Firmware space is locked read-only. "
-			KERN_WARNING PFX "If you can't or\n don't want to "
-			KERN_WARNING PFX "disable this in firmware setup, and "
-			KERN_WARNING PFX "if\n you are certain that your "
-			KERN_WARNING PFX "system has a functional\n RNG, try"
-			KERN_WARNING PFX "using the 'no_fwh_detect' option.\n";
+			KERN_WARNING PFX "Firmware space is locked read-only. If you can't or\n"
+			KERN_WARNING PFX "don't want to disable this in firmware setup, and if\n"
+			KERN_WARNING PFX "you are certain that your system has a functional\n"
+			KERN_WARNING PFX "RNG, try using the 'no_fwh_detect' option.\n";
 
 		if (no_fwh_detect)
 			return -ENODEV;

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2007-06-09 20:41 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-07 15:22 [PATCH] intel-rng: Undo mess made by an 80 column extremist Alan Cox
2007-06-07 15:23 ` Jeff Garzik
2007-06-07 15:44   ` Alan Cox
2007-06-07 17:22     ` Jeff Garzik
2007-06-07 21:17 ` Krzysztof Halasa
2007-06-07 21:32   ` Alistair John Strachan
2007-06-07 22:06     ` Krzysztof Halasa
2007-06-08  1:08       ` H. Peter Anvin
2007-06-08  1:25         ` Jeff Garzik
2007-06-08 10:11           ` Peter Zijlstra
2007-06-09 20:33             ` Krzysztof Halasa
2007-06-07 22:32   ` Daniel Hazelton
2007-06-07 22:37     ` Krzysztof Halasa
2007-06-07 23:01       ` Daniel Hazelton
2007-06-07 22:46     ` Jesper Juhl
2007-06-07 23:04       ` Daniel Hazelton
2007-06-08  1:44   ` John Stoffel
2007-06-08  1:47     ` Jeff Garzik
2007-06-08  1:56       ` John Stoffel
2007-06-08  2:07         ` Jeff Garzik
2007-06-08  2:11           ` John Stoffel
2007-06-08 18:21             ` Ingo Oeser
2007-06-09 20:41         ` Krzysztof Halasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox