summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorSumeet Pawnikar <sumeet4linux@gmail.com>2026-01-10 14:58:51 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-01-15 21:03:19 +0100
commit7cb776b74c666c04c9fa10482b0e4d9f049d4fc2 (patch)
tree5021dedbdd2a65cf9b2b4fc0e75b8beed21336b7 /rust/alloc/collections/git@git.tavy.me:linux.git
parent1d97b8e3bfbb4fec99054cb5c413652a0ccfdeec (diff)
thermal: Replace sprintf() with sysfs_emit() for sysfs show functions
Replace all sprintf() calls with sysfs_emit() and sysfs_emit_at() in sysfs show functions. sysfs_emit() and sysfs_emit_at() are preferred over sprintf() for formatting sysfs output as they provide better bounds checking and prevent potential buffer overflows. Signed-off-by: Sumeet Pawnikar <sumeet4linux@gmail.com> Link: https://patch.msgid.link/20260110092851.9078-1-sumeet4linux@gmail.com 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