Revision 745c4d8e160afaf6c75e887c27ea4b75c8142b26 authored by Jeff Mahoney on 20 November 2011, 12:31:57 UTC, committed by Chris Mason on 20 November 2011, 12:42:13 UTC
 This patch casts to unsigned long before casting to a pointer and fixes
 the following warnings:
fs/btrfs/extent_io.c:2289:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
fs/btrfs/ioctl.c:2933:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
fs/btrfs/ioctl.c:2937:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
fs/btrfs/ioctl.c:3020:21: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
fs/btrfs/scrub.c:275:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
fs/btrfs/backref.c:686:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
1 parent 387125f
History
File Mode Size
Kconfig -rw-r--r-- 1.2 KB
Makefile -rw-r--r-- 240 bytes
alloc.c -rw-r--r-- 21.2 KB
alloc.h -rw-r--r-- 3.5 KB
bmap.c -rw-r--r-- 14.4 KB
bmap.h -rw-r--r-- 7.9 KB
btnode.c -rw-r--r-- 7.7 KB
btnode.h -rw-r--r-- 1.8 KB
btree.c -rw-r--r-- 60.0 KB
btree.h -rw-r--r-- 2.7 KB
cpfile.c -rw-r--r-- 24.9 KB
cpfile.h -rw-r--r-- 1.7 KB
dat.c -rw-r--r-- 13.1 KB
dat.h -rw-r--r-- 2.3 KB
dir.c -rw-r--r-- 17.4 KB
direct.c -rw-r--r-- 8.9 KB
direct.h -rw-r--r-- 1.5 KB
export.h -rw-r--r-- 253 bytes
file.c -rw-r--r-- 4.4 KB
gcinode.c -rw-r--r-- 5.6 KB
ifile.c -rw-r--r-- 5.2 KB
ifile.h -rw-r--r-- 1.8 KB
inode.c -rw-r--r-- 28.1 KB
ioctl.c -rw-r--r-- 20.7 KB
mdt.c -rw-r--r-- 14.4 KB
mdt.h -rw-r--r-- 3.8 KB
namei.c -rw-r--r-- 13.3 KB
nilfs.h -rw-r--r-- 11.1 KB
page.c -rw-r--r-- 13.7 KB
page.h -rw-r--r-- 2.6 KB
recovery.c -rw-r--r-- 24.4 KB
segbuf.c -rw-r--r-- 13.8 KB
segbuf.h -rw-r--r-- 6.2 KB
segment.c -rw-r--r-- 71.0 KB
segment.h -rw-r--r-- 8.1 KB
sufile.c -rw-r--r-- 24.7 KB
sufile.h -rw-r--r-- 4.8 KB
super.c -rw-r--r-- 35.7 KB
the_nilfs.c -rw-r--r-- 20.3 KB
the_nilfs.h -rw-r--r-- 10.8 KB

back to top