mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
feeeca4ce2
do_gettimeofday() is deprecated because of the y2038 overflow. Here, we use the result to pass into a 32-bit field in the firmware, which still risks an overflow, but if the firmware is written to expect unsigned values, it can at least last until y2106, and there is not much we can do about it. This changes do_gettimeofday() to ktime_get_real_seconds(), which at least simplifies the code a bit, and avoids the deprecated interface. I'm adding a comment about the overflow to document what happens. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> |
||
---|---|---|
.. | ||
atioctl.h | ||
atvda.h | ||
esas2r_disc.c | ||
esas2r_flash.c | ||
esas2r_init.c | ||
esas2r_int.c | ||
esas2r_io.c | ||
esas2r_ioctl.c | ||
esas2r_log.c | ||
esas2r_log.h | ||
esas2r_main.c | ||
esas2r_targdb.c | ||
esas2r_vda.c | ||
esas2r.h | ||
Kconfig | ||
Makefile |