Re: linux-next: build warning after merge of the y2038 tree

2018-06-06 Thread Arnd Bergmann
On Wed, Jun 6, 2018 at 12:41 PM, Stephen Rothwell wrote: > Hi all, > > After merging the y2038 tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > fs/pstore/ram.c: In function 'ramoops_read_kmsg_hdr': > fs/pstore/ram.c:39:29: warning: format '%ld' expects argument of

linux-next: build warning after merge of the y2038 tree

2018-06-06 Thread Stephen Rothwell
Hi all, After merging the y2038 tree, today's linux-next build (x86_64 allmodconfig) produced this warning: fs/pstore/ram.c: In function 'ramoops_read_kmsg_hdr': fs/pstore/ram.c:39:29: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'time64_t * {aka long long