Thread (5 messages) 5 messages, 3 authors, 2012-01-20

Re: [PATCH v2] serial: trivial checkpatch fixes in drivers/tty/serial/8250.c

From: Jiri Slaby <hidden>
Date: 2012-01-20 15:43:45
Also in: lkml

On 01/20/2012 01:24 AM, Simon Glass wrote:
quoted hunk ↗ jump to hunk
@@ -2006,8 +2010,8 @@ static int serial8250_startup(struct uart_port *port)
 	 */
 	if (!(up->port.flags & UPF_BUGGY_UART) &&
 	    (serial_inp(up, UART_LSR) == 0xff)) {
-		printk_ratelimited(KERN_INFO "ttyS%d: LSR safety check engaged!\n",
-				   serial_index(&up->port));
+		pr_info_ratelimited(
FWIW I hate these macros. Beginners ask what the heck stands "pr" for?
quoted hunk ↗ jump to hunk
@@ -3053,8 +3063,8 @@ static int __devinit serial8250_probe(struct platform_device *dev)
 		port.irqflags		|= irqflag;
 		ret = serial8250_register_port(&port);
 		if (ret < 0) {
-			dev_err(&dev->dev, "unable to register port at index %d "
-				"(IO%lx MEM%llx IRQ%d): %d\n", i,
+			dev_err(&dev->dev, "unable to register port at "
+				"index %d (IO%lx MEM%llx IRQ%d): %d\n", i,
Nack to this. It makes grepping harder.

thanks,
-- 
js
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help