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: NSergey Organov <sorganov@gmail.com> Acked-by: NFugang Duan <fugang.duan@nxp.com> Signed-off-by: NJakub Kicinski <kuba@kernel.org>
Showing
想要评论请 注册 或 登录