aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorPerry Yuan <[email protected]>2024-06-19 16:15:20 +0800
committerRafael J. Wysocki <[email protected]>2024-06-20 19:47:11 +0200
commit5e62d53c763aa44be07a7b7ecb5a94a269bb0ed1 (patch)
treed307cdfbca24a39b6d8467ae21aa2f5288a64767 /scripts/gcc-plugins
parentede951c27dbd2d4c91b9d54f0b423508a6b5e191 (diff)
cpufreq: update to sysfs_emit() for safer buffer handling
Replace sprintf() and scnprintf() with sysfs_emit() and sysfs_emit_at() in the cpufreq core. This ensures safer buffer handling and consistency with sysfs interfaces. Update show_scaling_available_governors() and related functions for compliance with the new API. Signed-off-by: Perry Yuan <[email protected]> Reviewed-by: Mario Limonciello <[email protected]> Link: https://patch.msgid.link/[email protected] [ rjw: Changelog edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions