commit | b0b46c7766e6803df7f76cddbbc0172092b5fa7c | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Tue Aug 26 10:08:23 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Aug 27 16:18:06 2014 -0700 |
tree | b094cc643a31a3d99ca90d8daf58aa4abd9aaf25 | |
parent | 5c21403d74af2c9cd635a34c2f9199681a5b813e [diff] |
r8152: replace strncpy with strlcpy Replace the strncpy with strlcpy, and use sizeof to determine the length. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>