Skip to contentSkip to conversation

Compile warnings in XFS, kernel 2.6.15.1

DISCUSSION L. A. Walsh 3 participants 3 messages Jan 31, 2006 – Feb 1, 2006

lore
Share & tools
lore
#0 lore raw

Are these warnings anything to worry about?

 CC      fs/xfs/xfs_bmap.o
 LD      fs/udf/udf.o
 LD      fs/udf/built-in.o
 CC      fs/dnotify.o
 CC      fs/xfs/xfs_bmap_btree.o
fs/xfs/xfs_bmap.c: In function `xfs_bmap_search_extents':
fs/xfs/xfs_bmap.c:3590: warning: long long unsigned int format, different type arg (arg 5)
 CC      fs/xfs/xfs_btree.o
 CC      fs/xfs/xfs_buf_item.o
 CC      fs/xfs/xfs_iget.o
 CC      fs/xfs/xfs_inode.o
 CC      fs/xfs/xfs_inode_item.o
 CC      fs/xfs/xfs_iocore.o
 CC      fs/xfs/xfs_iomap.o
 CC      fs/xfs/xfs_itable.o

fs/xfs/xfs_iomap.c: In function `xfs_iomap_write_direct':
fs/xfs/xfs_iomap.c:488: warning: long long unsigned int format, different type arg (arg 5) fs/xfs/xfs_iomap.c: In function `xfs_iomap_write_delay':
fs/xfs/xfs_iomap.c:591: warning: long long unsigned int format, different type arg (arg 5) fs/xfs/xfs_iomap.c:697: warning: long long unsigned int format, different type arg (arg 5) fs/xfs/xfs_iomap.c: In function `xfs_iomap_write_allocate':
fs/xfs/xfs_iomap.c:834: warning: long long unsigned int format, different type arg (arg 5) fs/xfs/xfs_iomap.c: In function `xfs_iomap_write_unwritten':
fs/xfs/xfs_iomap.c:941: warning: long long unsigned int format, different type arg (arg 5)

#1 lore raw
Quoted 1 line · L. A. Walsh

Are these warnings anything to worry about?

No.

Signature · 1 line
Nathan
#2 lore raw
In reply to L. A. Walsh

The 2.6.11.1 source doesn't line up with your line numbers so I can't say. You'll have to see whether it's stuffing a 64 bit number into a 32 bit number or vice versa and see if that will cause problems. I don't get those error messages when I compile the kernel so maybe someone put a cast in or fixed something. There are still plenty of warnings about uninitialized variable and so on which I would feel more comfortable not seeing. 111 the last time.

John

Quoted 32 lines · L. A. Walsh

Are these warnings anything to worry about?

 CC      fs/xfs/xfs_bmap.o
 LD      fs/udf/udf.o
 LD      fs/udf/built-in.o
 CC      fs/dnotify.o
 CC      fs/xfs/xfs_bmap_btree.o
fs/xfs/xfs_bmap.c: In function `xfs_bmap_search_extents':
fs/xfs/xfs_bmap.c:3590: warning: long long unsigned int format, different type arg (arg 5)
 CC      fs/xfs/xfs_btree.o
 CC      fs/xfs/xfs_buf_item.o
 CC      fs/xfs/xfs_iget.o
 CC      fs/xfs/xfs_inode.o
 CC      fs/xfs/xfs_inode_item.o
 CC      fs/xfs/xfs_iocore.o
 CC      fs/xfs/xfs_iomap.o
 CC      fs/xfs/xfs_itable.o

fs/xfs/xfs_iomap.c: In function `xfs_iomap_write_direct':
fs/xfs/xfs_iomap.c:488: warning: long long unsigned int format, different type arg (arg 5) fs/xfs/xfs_iomap.c: In function `xfs_iomap_write_delay':
fs/xfs/xfs_iomap.c:591: warning: long long unsigned int format, different type arg (arg 5) fs/xfs/xfs_iomap.c:697: warning: long long unsigned int format, different type arg (arg 5) fs/xfs/xfs_iomap.c: In function `xfs_iomap_write_allocate':
fs/xfs/xfs_iomap.c:834: warning: long long unsigned int format, different type arg (arg 5) fs/xfs/xfs_iomap.c: In function `xfs_iomap_write_unwritten':
fs/xfs/xfs_iomap.c:941: warning: long long unsigned int format, different type arg (arg 5) -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/