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>
This commit is contained in:
Chen Gang 2013-01-20 17:36:02 +08:00 • committed by Greg Kroah-Hartman
commit f8a2b220af