mirror of https://gitee.com/openkylin/linux.git
intel-rng: undo mess made by an 80 column extremist
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> Cc: Michael Buesch <mb@bu3sch.de> Acked-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b4c07bce79
commit
f3dc8c189a
|
@ -296,12 +296,10 @@ static int __init intel_init_hw_struct(struct intel_rng_hw *intel_rng_hw,
|
|||
(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;
|
||||
|
|
Loading…
Reference in New Issue