On Thu, Nov 05, 2026 at 02:18:45AM +0100, Jacopo Di Lauro wrote:
Replace sprintf() with sysfs_emit() in sysfs attribute show functions. sysfs_emit() is preferred in sysfs show methods as it is aware of the PAGE_SIZE buffer limit and prevents potential buffer overflow.
Signed-off-by: Jacopo Di Lauro jacopo.dilauro04@gmail.com
Check the archives (lore.kernel.org) for why we aren't merging this.