[PATCH] Address of void __user * is void __user * *, not void * __user *
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 15 Dec 2005 09:18:30 +0000 (09:18 +0000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 15 Dec 2005 18:04:31 +0000 (10:04 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/sctp/socket.c

index d890dfa8818fb27c592f950506e1ccd7144e55c7..1f7f244806b7747050fd7ce5360bca4cb2068433 100644 (file)
@@ -3425,7 +3425,7 @@ static int sctp_copy_laddrs_to_user_old(struct sock *sk, __u16 port, int max_add
 }
 
 static int sctp_copy_laddrs_to_user(struct sock *sk, __u16 port,
-                                   void * __user *to, size_t space_left)
+                                   void __user **to, size_t space_left)
 {
        struct list_head *pos;
        struct sctp_sockaddr_entry *addr;