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-15 09:20:58 +0200 |
| commit | afdf35cfae0d039a4a6c907fa5d8391f1ef0a0aa (patch) | |
| tree | c76b363328e9e6bdc753bf3c9ff938f3e10217e2 /scripts/basic | |
| parent | 318012c56576e09806747f64f89f8f3cde1f999f (diff) | |
| download | linux-stable-afdf35cfae0d039a4a6c907fa5d8391f1ef0a0aa.tar.gz linux-stable-afdf35cfae0d039a4a6c907fa5d8391f1ef0a0aa.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
