summaryrefslogtreecommitdiff
path: root/Documentation/controllers/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-02-23 22:03:51 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2026-03-06 19:33:10 +0100
commit022eec206a32c985f096ccc79894dad50dcf04f6 (patch)
tree1156602874b80c2797af12d1b936a290f956b7e7 /Documentation/controllers/git@git.tavy.me:linux.git
parent6acae3c8332f3125e331f2d896bef994d4460376 (diff)
cpufreq: governor: Use sysfs_emit() in sysfs show functions
Replace sprintf() with sysfs_emit() in sysfs show functions. sysfs_emit() is preferred for formatting sysfs output because it provides safer bounds checking. No functional changes. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> [ rjw: Subject tweak ] Link: https://patch.msgid.link/20260223210351.344388-2-thorsten.blum@linux.dev Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/controllers/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions