OCFS2 printf format warnings

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Kernel list <linux-kernel@...>, <joel.becker@...>, <mfasheh@...>
Date: Sunday, May 18, 2008 - 9:59 am

Just noticed these on sparc64:

  CC [M]  fs/ocfs2/cluster/netdebug.o
fs/ocfs2/cluster/netdebug.c: In function 'nst_seq_show':
fs/ocfs2/cluster/netdebug.c:152: warning: format '%lu' expects type 'long unsigned int', but argument 13 has type 'suseconds_t'
fs/ocfs2/cluster/netdebug.c:152: warning: format '%lu' expects type 'long unsigned int', but argument 15 has type 'suseconds_t'
fs/ocfs2/cluster/netdebug.c:152: warning: format '%lu' expects type 'long unsigned int', but argument 17 has type 'suseconds_t'
fs/ocfs2/cluster/netdebug.c: In function 'sc_seq_show':
fs/ocfs2/cluster/netdebug.c:332: warning: format '%lu' expects type 'long unsigned int', but argument 19 has type 'suseconds_t'
fs/ocfs2/cluster/netdebug.c:332: warning: format '%lu' expects type 'long unsigned int', but argument 21 has type 'suseconds_t'
fs/ocfs2/cluster/netdebug.c:332: warning: format '%lu' expects type 'long unsigned int', but argument 23 has type 'suseconds_t'
fs/ocfs2/cluster/netdebug.c:332: warning: format '%lu' expects type 'long unsigned int', but argument 25 has type 'suseconds_t'
fs/ocfs2/cluster/netdebug.c:332: warning: format '%lu' expects type 'long unsigned int', but argument 27 has type 'suseconds_t'
fs/ocfs2/cluster/netdebug.c:332: warning: format '%lu' expects type 'long unsigned int', but argument 29 has type 'suseconds_t'

-- 
Meelis Roos (mroos@linux.ee)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
OCFS2 printf format warnings, Meelis Roos, (Sun May 18, 9:59 am)
Re: OCFS2 printf format warnings, Mark Fasheh, (Mon May 19, 3:07 pm)