diff options
author | 2024-03-14 18:04:01 +0800 | |
---|---|---|
committer | 2024-04-09 12:32:37 +0200 | |
commit | 8f0acb7f3a1331559e325566c00c26d1523dfe06 (patch) | |
tree | df88a6546cea1c5449028f5786a318ace02fef4b /scripts/gdb/linux/utils.py | |
parent | clocksource: Make watchdog and suspend-timing multiplication overflow safe (diff) | |
download | linux-rng-8f0acb7f3a1331559e325566c00c26d1523dfe06.tar.xz linux-rng-8f0acb7f3a1331559e325566c00c26d1523dfe06.zip |
clocksource: Convert s[n]printf() to sysfs_emit()
Per filesystems/sysfs.rst, show() should only use sysfs_emit() or
sysfs_emit_at() when formatting the value to be returned to user space.
coccinelle complains that there are still a couple of functions that use
snprintf(). Convert them to sysfs_emit().
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20240314100402.1326582-1-lizhijian@fujitsu.com
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions