Skip to contentSkip to conversation

Address of void __user * is void __user * *, not void * __user *

PATCH New Al Viro 1 participant 1 message Dec 15, 2005

Subsystems (2)
lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 Address of void __user * is void __user * *, not void * __user *

---

 net/sctp/socket.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

cd935292cc41f9f45abafb1f0307422f40b28fc1

net/sctp/socket.c +1 -1
index d890dfa..1f7f244 100644
@@ -3425,7 +3425,7 @@ static int sctp_copy_laddrs_to_user_old(
 }
 
 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;
Signature · 1 line
0.99.9.GIT