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@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)); ^
regards sudip