Re: [PATCH] kdb: Change timespec to use timespec64

2018-01-25 Thread Baolin Wang
On 25 January 2018 at 23:12, Arnd Bergmann wrote: > On Thu, Jan 25, 2018 at 3:49 PM, Jason Wessel > wrote: >> On 01/25/2018 05:38 AM, Daniel Thompson wrote: >>> >>> On Thu, Jan 25, 2018 at 05:18:54PM +0800, Baolin Wang wrote: On 25 January 2018 at 16:55, Arnd Bergmann wrote: >

Re: [PATCH] kdb: Change timespec to use timespec64

2018-01-25 Thread Arnd Bergmann
On Thu, Jan 25, 2018 at 3:49 PM, Jason Wessel wrote: > On 01/25/2018 05:38 AM, Daniel Thompson wrote: >> >> On Thu, Jan 25, 2018 at 05:18:54PM +0800, Baolin Wang wrote: >>> >>> On 25 January 2018 at 16:55, Arnd Bergmann wrote: On Thu, Jan 25, 2018 at 9:05 AM, Baolin Wang wrote: >>

Re: [PATCH] kdb: Change timespec to use timespec64

2018-01-25 Thread Jason Wessel
On 01/25/2018 05:38 AM, Daniel Thompson wrote: On Thu, Jan 25, 2018 at 05:18:54PM +0800, Baolin Wang wrote: On 25 January 2018 at 16:55, Arnd Bergmann wrote: On Thu, Jan 25, 2018 at 9:05 AM, Baolin Wang wrote: @@ -2554,7 +2554,7 @@ static int kdb_summary(int argc, const char **argv)

Re: [PATCH] kdb: Change timespec to use timespec64

2018-01-25 Thread Daniel Thompson
On Thu, Jan 25, 2018 at 05:18:54PM +0800, Baolin Wang wrote: > On 25 January 2018 at 16:55, Arnd Bergmann wrote: > > On Thu, Jan 25, 2018 at 9:05 AM, Baolin Wang wrote: > >> @@ -2554,7 +2554,7 @@ static int kdb_summary(int argc, const char **argv) > >> kdb_printf("domainname %s\n", init_u

Re: [PATCH] kdb: Change timespec to use timespec64

2018-01-25 Thread Baolin Wang
On 25 January 2018 at 16:55, Arnd Bergmann wrote: > On Thu, Jan 25, 2018 at 9:05 AM, Baolin Wang wrote: >> @@ -2554,7 +2554,7 @@ static int kdb_summary(int argc, const char **argv) >> kdb_printf("domainname %s\n", init_uts_ns.name.domainname); >> kdb_printf("ccversion %s\n", __st

Re: [PATCH] kdb: Change timespec to use timespec64

2018-01-25 Thread Arnd Bergmann
On Thu, Jan 25, 2018 at 9:05 AM, Baolin Wang wrote: > @@ -2554,7 +2554,7 @@ static int kdb_summary(int argc, const char **argv) > kdb_printf("domainname %s\n", init_uts_ns.name.domainname); > kdb_printf("ccversion %s\n", __stringify(CCVERSION)); > > - now = __current_kernel_

[PATCH] kdb: Change timespec to use timespec64

2018-01-25 Thread Baolin Wang
Since struct timespec is not y2038 safe on 32 bit machines, thus replace uses of struct timespec with struct timespec64 in the kernel. Signed-off-by: Baolin Wang --- kernel/debug/kdb/kdb_main.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/debug/kdb/kdb_