Re: [PATCH] crypto: octeontx2 - Use sysfs_emit in sysfs show functions
From: Herbert Xu
Date: Sun Dec 28 2025 - 19:50:23 EST
On Mon, Dec 15, 2025 at 01:26:05PM +0100, Thorsten Blum wrote:
> 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@xxxxxxxxx>
> ---
> drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 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