diff options
| author | Bowen Yu <[email protected]> | 2025-05-19 07:09:08 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-05-21 20:19:10 +0000 |
| commit | 9c5075fc9d322670d4a82881bf41922a90fe423a (patch) | |
| tree | ee827417df40f7a0e058723cbb7659b19b05cd3c /rust/helpers/helpers.c | |
| parent | Merge tag 'amd-pstate-v6.16-2025-05-15' of ssh://gitolite.kernel.org/pub/scm/... (diff) | |
| download | kernel-9c5075fc9d322670d4a82881bf41922a90fe423a.tar.gz kernel-9c5075fc9d322670d4a82881bf41922a90fe423a.zip | |
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 <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
