Re: [PATCH] crypto: octeontx - Replace scnprintf with strscpy in print_ucode_info

From: Herbert Xu

Date: Fri Feb 27 2026 - 22:58:58 EST


On Mon, Feb 02, 2026 at 06:33:21PM +0100, Thorsten Blum wrote:
> 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@xxxxxxxxx>
> ---
> drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt