ASoC: SOF: sof-client-probes: Replace snprintf() with scnprintf()

As per the C99 standard snprintf() returns the length of the data
that *would have been* written if there were enough space for it.
It's generally considered safer to use the scnprintf() variant.

Link: https://github.com/KSPP/linux/issues/105
Signed-off-by: HariKrishna Sagala <hariconscious@gmail.com>
Link: https://patch.msgid.link/20251111052920.56459-2-hariconscious@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
HariKrishna Sagala 2025-11-11 10:59:21 +05:30 • committed by Mark Brown
commit e45979641a
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0