Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 2a70b787 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

y2038: ipc: Use ktime_get_real_seconds consistently


In some places, we still used get_seconds() instead of
ktime_get_real_seconds(), and I'm changing the remaining ones now to
all use ktime_get_real_seconds() so we use the full available range for
timestamps instead of overflowing the 'unsigned long' return value in
year 2106 on 32-bit kernels.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent b497ef57
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment