* OCFS2 printf format warnings
@ 2008-05-18 13:59 Meelis Roos
2008-05-19 19:07 ` Mark Fasheh
0 siblings, 1 reply; 2+ messages in thread
From: Meelis Roos @ 2008-05-18 13:59 UTC (permalink / raw)
To: Linux Kernel list, joel.becker, mfasheh
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: OCFS2 printf format warnings
2008-05-18 13:59 OCFS2 printf format warnings Meelis Roos
@ 2008-05-19 19:07 ` Mark Fasheh
0 siblings, 0 replies; 2+ messages in thread
From: Mark Fasheh @ 2008-05-19 19:07 UTC (permalink / raw)
To: Meelis Roos; +Cc: Linux Kernel list, joel.becker, Sunil Mushran
On Sun, May 18, 2008 at 04:59:26PM +0300, Meelis Roos wrote:
> 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'
Ok, these were introduced by:
commit 2309e9e040fe29469fb85a384636c455b62fe525
Author: Sunil Mushran <sunil.mushran@oracle.com>
Date: Mon Apr 14 10:46:19 2008 -0700
ocfs2/net: Add debug interface to o2net
...
It looks like we need some casts... Sunil, care to fix this up?
--Mark
--
Mark Fasheh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-19 19:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-18 13:59 OCFS2 printf format warnings Meelis Roos
2008-05-19 19:07 ` Mark Fasheh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®