]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: octeontx2 - Use sysfs_emit in sysfs show functions
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 15 Dec 2025 12:26:05 +0000 (13:26 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 29 Dec 2025 00:48:35 +0000 (08:48 +0800)
commit37b03cb378177cd575a25da5f2a0a40c6ef639d9
tree1c34a1a5d8fb58cd2a8c8c777d0336828fd10359
parentbce4678f0235df02bc243ca4c2fc2bd08131166a
crypto: octeontx2 - Use sysfs_emit in sysfs show functions

Replace sprintf() with sysfs_emit() in sso_pf_func_ovrd_show() and
kvf_limits_show(). sysfs_emit() is preferred for formatting sysfs output
as it performs proper bounds checking.  No functional changes.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c