diff options
| author | Lifeng Zheng <[email protected]> | 2025-04-21 03:00:18 +0000 |
|---|---|---|
| committer | Chanwoo Choi <[email protected]> | 2025-07-14 11:04:16 +0000 |
| commit | 5487f2595bc821348848b0708f42df825d856f9e (patch) | |
| tree | 7a2b4ea2aad4dae5369cc0cf170678ddf8cb19f5 /net/unix/af_unix.c | |
| parent | PM / devfreq: governor: Replace sscanf() with kstrtoul() in set_freq_store() (diff) | |
| download | kernel-5487f2595bc821348848b0708f42df825d856f9e.tar.gz kernel-5487f2595bc821348848b0708f42df825d856f9e.zip | |
PM / devfreq: Limit max_freq with scaling_min_freq
Limit max_freq in devfreq_get_freq_range() with scaling_min_freq to avoid
showing an unreachable freq when reading it.
Use macro clamp to simplify code.
Signed-off-by: Lifeng Zheng <[email protected]>
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
