Re: [PATCH] crypto: caam - Replace snprintf with strscpy in caam_hash_alloc
From: Herbert Xu
Date: Fri Feb 27 2026 - 22:58:24 EST
On Tue, Feb 03, 2026 at 12:01:17AM +0100, Thorsten Blum wrote:
> Replace snprintf("%s", ...) with the faster and more direct strscpy().
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> drivers/crypto/caam/caamalg_qi2.c | 13 +++++--------
> drivers/crypto/caam/caamhash.c | 12 ++++--------
> 2 files changed, 9 insertions(+), 16 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