summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-01-13 09:21:26 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-01-15 21:21:16 +0100
commit75faabf6b92ad1d14fce8d45cf40f6db53cf96fd (patch)
treecaa3b08a9b1ce81d609c09dfeb5c67556cca76b0 /rust/alloc/collections/git@git.tavy.me:linux.git
parent47c9ef95a79a72653a5e5274e46f013df6b04626 (diff)
thermal: intel: Use sysfs_emit() in a sysfs show function
Replace sprintf() with sysfs_emit() in sysfs show functions. sysfs_emit() is preferred to format sysfs output as it provides better bounds checking. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> [ rjw: Subject tweaks ] Link: https://patch.msgid.link/20260113082130.789891-2-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