ptp: ocp: use snprintf() in ptp_ocp_verify()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 18 Mar 2022 07:47:23 +0000 (10:47 +0300)
committerJakub Kicinski <kuba@kernel.org>
Sat, 19 Mar 2022 04:42:09 +0000 (21:42 -0700)
commitd5f497b889794161facc1522d86720b587d1c0b7
treef07f34205aba5f68605a210b886696eaa9b2e262
parent800c326bfa9cee38f0e173733ce9f93492c84c8b
ptp: ocp: use snprintf() in ptp_ocp_verify()

This code is fine, but it's easier to review if we use snprintf()
instead of sprintf().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Link: https://lore.kernel.org/r/20220318074723.GA6617@kili
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_ocp.c