Skip to content
Commit 31bb1a56 authored by Sergey Organov's avatar Sergey Organov Committed by Jakub Kicinski
Browse files

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: default avatarSergey Organov <sorganov@gmail.com>
Acked-by: default avatarFugang Duan <fugang.duan@nxp.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2b803088
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment