summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorBowen Yu <yubowen8@huawei.com>2025-05-19 15:09:38 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-05-21 22:27:36 +0200
commit1da98dc52b948a6063415d8bae0c60ef89044a8c (patch)
treea55335283b16d16632a30e04caf81a7c222e550b /scripts/lib/kdoc/kdoc_output.py
parent9c5075fc9d322670d4a82881bf41922a90fe423a (diff)
cpufreq: Update sscanf() to kstrtouint()
In store_scaling_setspeed(), sscanf is still used to read to sysfs. Newer kstrtox provide more features including overflow protection, better errorhandling and allows for other systems of numeration. It is therefore better to update sscanf() to kstrtouint(). Signed-off-by: Bowen Yu <yubowen8@huawei.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Link: https://patch.msgid.link/20250519070938.931396-1-yubowen8@huawei.com Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions