commit | f8a2b220afef7699f7a90d97dbc2d8830979874e | [log] [tgz] |
---|---|---|
author | Chen Gang <gang.chen@asianux.com> | Sun Jan 20 17:36:02 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Jan 20 15:50:36 2013 -0800 |
tree | 65aa9a84d8ee0babccf6aa9934ca5a9a75261d6d | |
parent | 4f73bc4dd3e8563ef4109f293a092820dff66d92 [diff] |
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>