xfs-masters
[Top] [All Lists]

linux-next: xfs tree build warnings

To: David Chinner <david@xxxxxxxxxxxxx>, xfs-masters@xxxxxxxxxxx
Subject: linux-next: xfs tree build warnings
From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Mon, 29 Dec 2008 19:26:49 +1100
Cc: linux-next@xxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgpPS0E4FJXoU.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>