[xfs-masters] linux-next: xfs tree build warnings

Stephen Rothwell sfr at canb.auug.org.au
Mon Dec 29 02:26:49 CST 2008


Hi David,

Today's linux-next build (powerpc ppc64_defconfig) failed like this:

fs/xfs/xfs_inode.c: In function 'xfs_iflush_int':
fs/xfs/xfs_inode.c:3055: warning: format '%Lu' expects type 'long long unsigned int', but argument 5 has type 'xfs_ino_t'
fs/xfs/xfs_inode.c:3062: warning: format '%Lu' expects type 'long long unsigned int', but argument 5 has type 'xfs_ino_t'
fs/xfs/xfs_inode.c:3072: warning: format '%Lu' expects type 'long long unsigned int', but argument 5 has type 'xfs_ino_t'
fs/xfs/xfs_inode.c:3083: warning: format '%Lu' expects type 'long long unsigned int', but argument 5 has type 'xfs_ino_t'
fs/xfs/xfs_inode.c:3095: warning: format '%Lu' expects type 'long long unsigned int', but argument 5 has type 'xfs_ino_t'
fs/xfs/xfs_inode.c:3102: warning: format '%Lu' expects type 'long long unsigned int', but argument 5 has type 'xfs_ino_t'
fs/xfs/xfs_log_recover.c: In function 'xlog_recover_do_inode_trans':
fs/xfs/xfs_log_recover.c:2300: warning: format '%Ld' expects type 'long long int', but argument 6 has type 'xfs_ino_t'
fs/xfs/xfs_log_recover.c:2311: warning: format '%Ld' expects type 'long long int', but argument 5 has type 'xfs_ino_t'
fs/xfs/xfs_log_recover.c:2344: warning: format '%Ld' expects type 'long long int', but argument 7 has type 'xfs_ino_t'
fs/xfs/xfs_log_recover.c:2357: warning: format '%Ld' expects type 'long long int', but argument 7 has type 'xfs_ino_t'
fs/xfs/xfs_log_recover.c:2370: warning: format '%Ld' expects type 'long long int', but argument 7 has type 'xfs_ino_t'
fs/xfs/xfs_log_recover.c:2380: warning: format '%Ld' expects type 'long long int', but argument 7 has type 'xfs_ino_t'

I am just flagging these to be consistent.  Ingo will probably say
something about u64 and unsigned long long vs. unsigned long ...

-- 
Cheers,
Stephen Rothwell                    sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://oss.sgi.com/pipermail/xfs-masters/attachments/20081229/53f8c554/attachment.pgp 


More information about the xfs-masters mailing list