Re: [PATCH] crypto: iaa - Replace sprintf with sysfs_emit in sysfs show functions

From: Herbert Xu
Date: Sun Dec 28 2025 - 19:50:20 EST


On Mon, Dec 15, 2025 at 08:23:52AM +0100, Thorsten Blum 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>
> ---
> drivers/crypto/intel/iaa/iaa_crypto_main.c | 9 +++++----
> 1 file changed, 5 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