diff options
| author | ye xingchen <[email protected]> | 2023-01-17 02:40:26 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2023-02-09 19:39:48 +0000 |
| commit | 5bbafd436266136a67224b98e6ad864c4ddd762d (patch) | |
| tree | 5cb50fd506a168c2cba92ceb3d8138477121324c /tools/perf/scripts/python/netdev-times.py | |
| parent | thermal: Fail object registration if thermal class is not registered (diff) | |
| download | kernel-5bbafd436266136a67224b98e6ad864c4ddd762d.tar.gz kernel-5bbafd436266136a67224b98e6ad864c4ddd762d.zip | |
thermal: core: Use sysfs_emit_at() instead of scnprintf()
Follow the advice in 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: ye xingchen <[email protected]>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
