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-12 18:49:00 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-01-15 21:08:42 +0100
commit1ccc3bec14b85fd67f30272bc6d14b2aada25203 (patch)
tree746e745738b0fe10909e1fdca1589ca31e65d008 /rust/alloc/collections/git@git.tavy.me:linux.git
parentc116cab81513858e46e54f1788c5fb8ec231cc9a (diff)
thermal: sysfs: Replace snprintf() with strscpy() in policy_store()
There is no need to use snprintf() with a format specifier to copy 'buf' to 'name'; use strscpy() directly instead. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> [ rjw: Subject and changelog tweaks ] Link: https://patch.msgid.link/20260112174901.767434-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