diff options
author | Lifeng Zheng <zhenglifeng1@huawei.com> | 2025-04-21 11:00:17 +0800 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2025-07-14 20:04:16 +0900 |
commit | 914cc799b28f17d369d5b4db3b941957d18157e8 (patch) | |
tree | 87c99b02b7e8e5609819d66b68ca3611c892fd8b /scripts/lib/kdoc/kdoc_files.py | |
parent | 347e9f5043c89695b01e66b3ed111755afcf1911 (diff) |
PM / devfreq: governor: Replace sscanf() with kstrtoul() in set_freq_store()
Replace sscanf() with kstrtoul() in set_freq_store() and check the result
to avoid invalid input.
Signed-off-by: Lifeng Zheng <zhenglifeng1@huawei.com>
Link: https://lore.kernel.org/lkml/20250421030020.3108405-2-zhenglifeng1@huawei.com/
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions