summaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-12-15 10:18:30 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-12-15 19:04:31 +0100
commitd3a880e1ff6713b4c846e4d2526a8c7e6ad8469c (patch)
tree4e4a6bae315b58d6acba5db50f4b5e657cffdc59 /net/sctp
parent[PATCH] missing prototype (mm/page_alloc.c) (diff)
downloadlinux-d3a880e1ff6713b4c846e4d2526a8c7e6ad8469c.tar.xz
linux-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>
Diffstat (limited to 'net/sctp')
-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;