drivers/tty/serial/8250: use strlcpy instead of strcpy
authorChen Gang <gang.chen@asianux.com>
Sun, 20 Jan 2013 09:36:02 +0000 (17:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Jan 2013 23:50:36 +0000 (15:50 -0800)
commitf8a2b220afef7699f7a90d97dbc2d8830979874e
tree65aa9a84d8ee0babccf6aa9934ca5a9a75261d6d
parent4f73bc4dd3e8563ef4109f293a092820dff66d92
drivers/tty/serial/8250: use strlcpy instead of strcpy

  The fields must be null-terminated, or next printk for %s, will cause issue.

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_early.c