Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: serial: 8250: Fix multi-line strings

Merged user-visible multi-line strings into a single line according to the
Linux Kernel Coding Style, which allows user-visible strings to exceed the
maximum line length of 80 characters. The main reason for this is to
facilitate grepping for these strings.
However, some strings were ignored in this patch, because the use of
format specifiers breaks the ability to grep anyway.

Signed-off-by: Anton Würfel <anton.wuerfel@fau.de>
Signed-off-by: Phillip Raffeck <phillip.raffeck@fau.de>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-kernel@i4.cs.fau.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Anton Wuerfel and committed by
Greg Kroah-Hartman
90ad7c44 149a44cc

+3 -4
+1 -2
drivers/tty/serial/8250/8250_core.c
··· 1178 1178 MODULE_DESCRIPTION("Generic 8250/16x50 serial driver"); 1179 1179 1180 1180 module_param(share_irqs, uint, 0644); 1181 - MODULE_PARM_DESC(share_irqs, "Share IRQs with other non-8250/16x50 devices" 1182 - " (unsafe)"); 1181 + MODULE_PARM_DESC(share_irqs, "Share IRQs with other non-8250/16x50 devices (unsafe)"); 1183 1182 1184 1183 module_param(nr_uarts, uint, 0644); 1185 1184 MODULE_PARM_DESC(nr_uarts, "Maximum number of UARTs supported. (1-" __MODULE_STRING(CONFIG_SERIAL_8250_NR_UARTS) ")");
+2 -2
drivers/tty/serial/8250/serial_cs.c
··· 533 533 info->multi = 2; 534 534 if (pcmcia_loop_config(link, multi_config_check_notpicky, 535 535 &base2)) { 536 - dev_warn(&link->dev, "no usable port range " 537 - "found, giving up\n"); 536 + dev_warn(&link->dev, 537 + "no usable port range found, giving up\n"); 538 538 return -ENODEV; 539 539 } 540 540 }