summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-12-15 09:18:30 +0000
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-15 10:04:31 -0800
commitd3a880e1ff6713b4c846e4d2526a8c7e6ad8469c (patch)
tree4e4a6bae315b58d6acba5db50f4b5e657cffdc59
parent78d9955bb06493e7bd78e43dfdc17fb5f1dc59b6 (diff)
downloadlinux-stable-d3a880e1ff6713b4c846e4d2526a8c7e6ad8469c.tar.gz
linux-stable-d3a880e1ff6713b4c846e4d2526a8c7e6ad8469c.tar.bz2
linux-stable-d3a880e1ff6713b4c846e4d2526a8c7e6ad8469c.zip
[PATCH] Address of void __user * is void __user * *, not void * __user *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--net/sctp/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index d890dfa8818f..1f7f244806b7 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -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;