Re: [PATCH] kdb: use __ktime_get_real_seconds instead of __current_kernel_time
From: Andrew Morton
Date: Thu Oct 12 2017 - 18:40:38 EST
On Thu, 12 Oct 2017 16:06:11 +0200 Arnd Bergmann <arnd@xxxxxxxx> wrote:
> kdb is the only user of the __current_kernel_time() interface, which is
> not y2038 safe and should be removed at some point.
>
> The kdb code also goes to great lengths to print the time in a
> human-readable format from 'struct timespec', again using a non-y2038-safe
> re-implementation of the generic time_to_tm() code.
Is it really necessary for the kdb `summary' command to print the
time/date? Which puppies would die if we just removed it all?