diff options
| author | Jan Kiszka <[email protected]> | 2022-04-24 11:34:56 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-05-05 15:06:02 -0400 |
| commit | 90c52423be9933d5e85c20c6a0266b2c565f030a (patch) | |
| tree | 3ad08a48bba967f6e894417e84e5754ec5dacebf /include/linux/linux_string.h | |
| parent | bfae2744dd136198a97b480bc0cc1814663fe33b (diff) | |
lib/date: Make rtc_mktime and mktime64 Y2038-ready
We currently overflow due to wrong types used internally in rtc_mktime,
on all platforms, and we return a too small type on 32-bit.
One consumer that directly benefits from this is mktime64. Many others
may still store the result in a wrong type.
While at it, drop the redundant cast of mon in rtc_mktime (obsoleted by
714209832db1).
Signed-off-by: Jan Kiszka <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
