]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
genirq/irqdesc: Use sysfs_emit() to instead of s*printf()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Apr 2025 10:16:51 +0000 (13:16 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Apr 2025 12:25:41 +0000 (14:25 +0200)
commit41c95ac4839401cb15e6c9a7756226f6af52ea49
tree414c9dcc57bf2056aeec4d575d5ea0c2f6d6aa0f
parent0a02e1f4a54ace747304687ced3b76d159e58914
genirq/irqdesc: Use sysfs_emit() to instead of s*printf()

Follow the advice of the Documentation/filesystems/sysfs.rst that show()
should only use sysfs_emit() or sysfs_emit_at() when formatting the value
to be returned to user space.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250416101651.2128688-1-andriy.shevchenko@linux.intel.com
kernel/irq/irqdesc.c