Skip to content

Commit

Permalink
jsm: Rewriting a bad log message
Browse files Browse the repository at this point in the history
Actually jsm displays "Device Added" 8 times (for a 8 port device).
This silly patch just makes things more informative, showing
the port (instead of the device) that was added.

Signed-off-by: Breno Leitão <leitao@linux.vnet.ibm.com>
Cc: Scott Kilau <scottk@digi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Breno Leitão authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent a88a477 commit 354aaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/serial/jsm/jsm_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ int __devinit jsm_uart_port_init(struct jsm_board *brd)
if (uart_add_one_port (&jsm_uart_driver, &brd->channels[i]->uart_port))
printk(KERN_INFO "jsm: add device failed\n");
else
printk(KERN_INFO "Added device \n");
printk(KERN_INFO "jsm: Port %d added\n", i);
}

jsm_printk(INIT, INFO, &brd->pci_dev, "finish\n");
Expand Down

0 comments on commit 354aaf9

Please sign in to comment.