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-- 3.2 KB
Kconfig.iosched -rw-r--r-- 1.8 KB
Makefile -rw-r--r-- 683 bytes
blk-cgroup.c -rw-r--r-- 42.3 KB
blk-cgroup.h -rw-r--r-- 11.3 KB
blk-core.c -rw-r--r-- 73.7 KB
blk-exec.c -rw-r--r-- 3.0 KB
blk-flush.c -rw-r--r-- 13.1 KB
blk-integrity.c -rw-r--r-- 11.4 KB
blk-ioc.c -rw-r--r-- 3.7 KB
blk-iopoll.c -rw-r--r-- 5.9 KB
blk-lib.c -rw-r--r-- 3.9 KB
blk-map.c -rw-r--r-- 8.2 KB
blk-merge.c -rw-r--r-- 11.1 KB
blk-settings.c -rw-r--r-- 25.3 KB
blk-softirq.c -rw-r--r-- 4.6 KB
blk-sysfs.c -rw-r--r-- 14.7 KB
blk-tag.c -rw-r--r-- 9.9 KB
blk-throttle.c -rw-r--r-- 32.0 KB
blk-timeout.c -rw-r--r-- 5.6 KB
blk.h -rw-r--r-- 5.5 KB
bsg-lib.c -rw-r--r-- 7.6 KB
bsg.c -rw-r--r-- 23.7 KB
cfq-iosched.c -rw-r--r-- 107.9 KB
cfq.h -rw-r--r-- 3.7 KB
compat_ioctl.c -rw-r--r-- 20.7 KB
deadline-iosched.c -rw-r--r-- 11.1 KB
elevator.c -rw-r--r-- 24.4 KB
genhd.c -rw-r--r-- 42.6 KB
ioctl.c -rw-r--r-- 8.1 KB
noop-iosched.c -rw-r--r-- 2.4 KB
scsi_ioctl.c -rw-r--r-- 18.3 KB

back to top