]> Gentwo Git Trees - linux/.git/commit
ASoC: Intel: avs: Replace snprintf() with scnprintf()
authorHariKrishna Sagala <hariconscious@gmail.com>
Thu, 13 Nov 2025 14:26:38 +0000 (19:56 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 21 Nov 2025 16:25:02 +0000 (16:25 +0000)
commitdf919994d323c7c86e32fa2745730136d58ada12
tree61bf68884ab4bf7b59ad1ed0d714e28975a9b186
parent3efee7362dbf896072af1c1aaeaf9fd6e235c591
ASoC: Intel: avs: Replace snprintf() with scnprintf()

snprintf() as defined by the C99 standard,returns the
number of characters that *would have been* written if
enough space were available.Use scnprintf() that returns
the actual number of characters written.

Link: https://github.com/KSPP/linux/issues/105
Signed-off-by: HariKrishna Sagala <hariconscious@gmail.com>
Link: https://patch.msgid.link/20251113142637.259737-2-hariconscious@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/debugfs.c