diff options
author | Kees Cook <keescook@chromium.org> | 2021-06-02 13:27:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-03 14:15:10 -0700 |
commit | 9c153d3889767eb347a9b1719cc6f336faccdba9 (patch) | |
tree | 4e7f748d0dfcf0dde63765b6a3e4b38ef9d922a0 /drivers/net/bonding | |
parent | 5ff5622ea1f16d535f1be4e478e712ef48fe183b (diff) |
net: vlan: Avoid using strncpy()
Use strscpy_pad() instead of strncpy() which is considered deprecated:
https://www.kernel.org/doc/html/latest/process/deprecated.html#strncpy-on-nul-terminated-strings
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding')
0 files changed, 0 insertions, 0 deletions