]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: octeontx - Replace scnprintf with strscpy in print_ucode_info
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 2 Feb 2026 17:33:21 +0000 (18:33 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 28 Feb 2026 03:53:58 +0000 (12:53 +0900)
commita4559a2b37ebbbd3c23041125624f55ef36905d1
treedcce9a0c3b3bc1b8987b51a408f8667258c17a96
parentd240b079a37e90af03fd7dfec94930eb6c83936e
crypto: octeontx - Replace scnprintf with strscpy in print_ucode_info

Replace scnprintf("%s", ...) with the faster and more direct strscpy().
Remove the parentheses while we're at it.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c