This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / net / appletalk / ddp.c
index af571e3..265d172 100644 (file)
@@ -1795,7 +1795,7 @@ static int atalk_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
                        break;
                }
                case SIOCGSTAMP:
-                       rc = sock_get_timestamp(sk, (struct timeval *)arg);
+                       rc = sock_get_timestamp(sk, (struct timeval __user *)arg);
                        break;
                /* Routing */
                case SIOCADDRT:
@@ -1829,7 +1829,7 @@ static int atalk_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
                case SIOCGIFCOUNT:
                case SIOCGIFINDEX:
                case SIOCGIFNAME:
-                       rc = dev_ioctl(cmd, (void *)arg);
+                       rc = dev_ioctl(cmd, (void __user *)arg);
                        break;
        }