mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
jsm: Rewriting a bad log message
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>
This commit is contained in:
parent
a88a477f1d
commit
354aaf964e
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
if (uart_add_one_port (&jsm_uart_driver, &brd->channels[i]->uart_port))
|
||||||
printk(KERN_INFO "jsm: add device failed\n");
|
printk(KERN_INFO "jsm: add device failed\n");
|
||||||
else
|
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");
|
jsm_printk(INIT, INFO, &brd->pci_dev, "finish\n");
|
||||||
|
|
Loading…
Reference in a new issue