[PATCH] Address of void __user * is void __user * *, not void * __user *

From: Al Viro
Date: Thu Dec 15 2005 - 04:18:50 EST



Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>


---

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

cd935292cc41f9f45abafb1f0307422f40b28fc1
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index d890dfa..1f7f244 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -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;
--
0.99.9.GIT

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/