Re: [PATCH v14 02/26] crypto: iaa - Replace sprintf with sysfs_emit in sysfs show functions
From: Herbert Xu
Date: Fri Feb 06 2026 - 05:48:31 EST
On Sat, Jan 24, 2026 at 07:35:13PM -0800, Kanchana P Sridhar wrote:
> Replace sprintf() with sysfs_emit() in verify_compress_show() and
> sync_mode_show(). sysfs_emit() is preferred to format sysfs output as it
> provides better bounds checking. No functional changes.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> Acked-by: Kanchana P Sridhar <kanchana.p.sridhar@xxxxxxxxx>
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> ---
> drivers/crypto/intel/iaa/iaa_crypto_main.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
This patch has already been applied to cryptodev. Please rebase
your patches.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt