On Thursday 24 September 2015 10:40:09 Sudip Mukherjee wrote:
On Wed, Sep 23, 2015 at 09:13:42PM +0200, Arnd Bergmann wrote:
> This time is only printed in procfs, and can be easily converted
> to 64-bit to avoid overflowing on 32-bit systems in 2038.
>
> Signed-off-by: Arnd Bergmann <arnd(a)arndb.de>
> ---
This introduces new build warnings:
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c: In function
‘lprocfs_rd_timeouts’:
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c:894:10: warning: format ‘%ld’
expects argument of type ‘long int’, but argument 6 has type ‘time64_t’ [-Wformat=]
"network", cur, worst, worstt, DHMS_VARS(&ts));
^
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c:906:11: warning: format ‘%ld’
expects argument of type ‘long int’, but argument 6 has type ‘time64_t’ [-Wformat=]
cur, worst, worstt, DHMS_VARS(&ts));
^
Sorry about that. I checked all the patches for new warnings but then only did
a partial check after rebasing to staging-testing. I'll fix it up and run the
full tests again.
Arnd