summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorBowen Yu <yubowen8@huawei.com>2025-05-19 15:09:08 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-05-21 22:19:10 +0200
commit9c5075fc9d322670d4a82881bf41922a90fe423a (patch)
treeee827417df40f7a0e058723cbb7659b19b05cd3c /scripts/lib/kdoc/kdoc_output.py
parentfd3d883aa5196ed39786bba7bb703e75276b6b4c (diff)
cpufreq: Replace magic number
Setting the length of str_governor with a magic number could cause overflow when max length increases, it is better to use the defined macro in this case. Signed-off-by: Bowen Yu <yubowen8@huawei.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Link: https://patch.msgid.link/20250519070908.930879-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