]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: iaa - Replace sprintf with sysfs_emit in sysfs show functions
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 15 Dec 2025 07:23:52 +0000 (08:23 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 29 Dec 2025 00:48:35 +0000 (08:48 +0800)
commitbce4678f0235df02bc243ca4c2fc2bd08131166a
treea4470c4eaa7f4b17090da4aa1ebad49c08654f49
parent32c539884d098345bf0fa8554ff2118be7571879
crypto: iaa - Replace sprintf with sysfs_emit in sysfs show functions

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@linux.dev>
Acked-by: Kanchana P Sridhar <kanchana.p.sridhar@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/intel/iaa/iaa_crypto_main.c