summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2025-12-20 23:30:11 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-01-07 21:46:13 +0100
commit2b91b8176d673346ec0604c2ae55575335f4abdf (patch)
tree8371c47cfe5bbfa3ef6de56ca3f6fe56f8d5138a /rust/alloc/collections/git@git.tavy.me:linux.git
parent8190b9ea30fef5b9067825b91fb3ec6d678ee5e3 (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 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions