warning: assignment makes pointer from integer without a cast


 arch/ppc64/kernel/ioctl32.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN arch/ppc64/kernel/ioctl32.c~ppc64-ioctl32-warning-fix-2 arch/ppc64/kernel/ioctl32.c
--- 25-power4/arch/ppc64/kernel/ioctl32.c~ppc64-ioctl32-warning-fix-2	2003-05-22 00:32:44.000000000 -0700
+++ 25-power4-akpm/arch/ppc64/kernel/ioctl32.c	2003-05-22 00:32:51.000000000 -0700
@@ -685,7 +685,7 @@ int siocdevprivate_ioctl(unsigned int fd
 		return -EFAULT;
 	if (__get_user(data32, &u_ifreq32->ifr_ifru.ifru_data))
 		return -EFAULT;
-	data64 = A(data32);
+	data64 = (void __user *)A(data32);
 
 	u_ifreq64 = compat_alloc_user_space(sizeof(*u_ifreq64));
 

_