Re: [PATCH] soundwire: replace scnprintf() with sysfs_emit() for sysfs consistency

From: Vinod Koul
Date: Tue Jul 22 2025 - 08:04:12 EST



On Sat, 12 Jul 2025 10:13:02 +0530, Suresh K C wrote:
> Replace scnprintf() with sysfs_emit() or sysfs_emit_at() in SoundWire driver files
> to align with the guidelines outlined in Documentation/filesystems/sysfs.rst.
>
> This change improves the safety and correctness of sysfs attribute handling,
> ensures consistency across the kernel codebase, and simplifies future maintenance.
>
> Tested by enabling CONFIG_DEBUG_FS and confirming that /sys/kernel/debug/soundwire is correctly populated
>
> [...]

Applied, thanks!

[1/1] soundwire: replace scnprintf() with sysfs_emit() for sysfs consistency
commit: 35323d8ab811cc8a02dc9ae9f60fb22acecb6d59

Best regards,
--
~Vinod