diff options
| author | Joel Granados <joel.granados@kernel.org> | 2026-09-10 12:22:16 +0200 |
|---|---|---|
| committer | Joel Granados <joel.granados@kernel.org> | 2026-09-10 12:49:35 +0200 |
| commit | 262353fae334fc6d3030eed610b00883ea5dcce9 (patch) | |
| tree | 2e3ce3a3935ed772cc68d379e723c59e629a195f /scripts/basic | |
| parent | ad3ac14b3ca4f4204ef477813ee6696080c5f1c9 (diff) | |
| download | linux-next-262353fae334fc6d3030eed610b00883ea5dcce9.tar.gz linux-next-262353fae334fc6d3030eed610b00883ea5dcce9.zip | |
sysctl: Fix type truncation in sysctl_msec_to_jiffies
Return MAX_JIFFY_OFFSET for all the values truncated when val (u64) is
passed to msecs_to_jiffies (u32). This aligns with how very large
millisecond values get translated into MAX_JIFFY_OFFSET.
Fixes: b96b5c6708ea ("sysctl: Replace do_proc_do{int,ulong,uint}vec with do_proc_vec")
Suggested-by: Kuniyuki Iwashima <kuniyu@google.com>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
