Commit e806a036 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] ppc64: ioctl32 warning fix

warning: assignment makes pointer from integer without a cast
parent 9b2a6123
...@@ -685,7 +685,7 @@ int siocdevprivate_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) ...@@ -685,7 +685,7 @@ int siocdevprivate_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
return -EFAULT; return -EFAULT;
if (__get_user(data32, &u_ifreq32->ifr_ifru.ifru_data)) if (__get_user(data32, &u_ifreq32->ifr_ifru.ifru_data))
return -EFAULT; return -EFAULT;
data64 = A(data32); data64 = (void __user *)A(data32);
u_ifreq64 = compat_alloc_user_space(sizeof(*u_ifreq64)); u_ifreq64 = compat_alloc_user_space(sizeof(*u_ifreq64));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment