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
interface
Kbuild -rw-r--r-- 43 bytes
balloon.h -rw-r--r-- 1.1 KB
events.h -rw-r--r-- 3.3 KB
evtchn.h -rw-r--r-- 2.9 KB
features.h -rw-r--r-- 463 bytes
gntalloc.h -rw-r--r-- 2.6 KB
gntdev.h -rw-r--r-- 5.6 KB
grant_table.h -rw-r--r-- 5.4 KB
hvc-console.h -rw-r--r-- 525 bytes
hvm.h -rw-r--r-- 695 bytes
page.h -rw-r--r-- 154 bytes
platform_pci.h -rw-r--r-- 1.6 KB
privcmd.h -rw-r--r-- 2.6 KB
swiotlb-xen.h -rw-r--r-- 2.0 KB
tmem.h -rw-r--r-- 126 bytes
xen-ops.h -rw-r--r-- 852 bytes
xen.h -rw-r--r-- 856 bytes
xenbus.h -rw-r--r-- 8.1 KB
xencomm.h -rw-r--r-- 2.5 KB

back to top