diff options
| author | 2025-12-20 23:30:11 +0100 | |
|---|---|---|
| committer | 2026-01-07 21:46:13 +0100 | |
| commit | 2b91b8176d673346ec0604c2ae55575335f4abdf (patch) | |
| tree | 8371c47cfe5bbfa3ef6de56ca3f6fe56f8d5138a /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | thermal: intel: selftests: workload_hint: Support slow workload hints (diff) | |
thermal: intel: int340x: Use sysfs_emit{_at}() in sysfs show functions
Replace sprintf() with sysfs_emit() and sysfs_emit_at() in sysfs show
functions.
sysfs_emit() and sysfs_emit_at() are preferred to format sysfs output
as they provide better bounds checking.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
[ rjw: Subject adjustment, changelog edits ]
Link: https://patch.msgid.link/20251220223026.125678-1-thorsten.blum@linux.dev
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
