diff options
| author | Hongling Zeng <zenghongling@kylinos.cn> | 2024-10-19 13:44:26 +0800 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-10-21 13:40:12 +0300 |
| commit | 90a7d74860044f12a359aa3611b5172b44b202dd (patch) | |
| tree | 0ba652dc5ad37f26e437a61292712f62edc1e11c /tools/perf/scripts/python/task-analyzer.py | |
| parent | platform/x86: Switch back to struct platform_driver::remove() (diff) | |
| download | linux-90a7d74860044f12a359aa3611b5172b44b202dd.tar.gz linux-90a7d74860044f12a359aa3611b5172b44b202dd.zip | |
platform/x86: classmate-laptop: Replace snprintf in show functions with sysfs_emit
show() must not use snprintf() when formatting the value to be
returned to user space.
Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn>
Link: https://lore.kernel.org/r/20241019054426.8182-1-zenghongling@kylinos.cn
[ij: Added linux/sysfs.h include]
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
