diff options
author | Sergey Organov <sorganov@gmail.com> | 2020-07-15 18:43:00 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-07-16 21:32:03 +0300 |
commit | 31bb1a560b2996f9953cfc232f6349d043aaab49 (patch) | |
tree | 22e323bdd9a13987d359133b4c2ff5546068b43b /net/packet/internal.h | |
parent | 2b803088865e459beffa1d153ad59db72d1c726a (diff) | |
download | linux-31bb1a560b2996f9953cfc232f6349d043aaab49.tar.xz |
net: fec: replace snprintf() with strlcpy() in fec_ptp_init()
No need to use snprintf() on a constant string, nor using magic
constant in the fixed code was a good idea.
Signed-off-by: Sergey Organov <sorganov@gmail.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/packet/internal.h')
0 files changed, 0 insertions, 0 deletions