diff options
author | Chen Gang <gang.chen@asianux.com> | 2013-01-20 10:36:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-21 00:50:36 +0100 |
commit | f8a2b220afef7699f7a90d97dbc2d8830979874e (patch) | |
tree | 65aa9a84d8ee0babccf6aa9934ca5a9a75261d6d /net/core | |
parent | tty: Added a CONFIG_TTY option to allow removal of TTY (diff) | |
download | linux-f8a2b220afef7699f7a90d97dbc2d8830979874e.tar.xz linux-f8a2b220afef7699f7a90d97dbc2d8830979874e.zip |
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions