Commit e9024f0f authored by Allan Stephens's avatar Allan Stephens Committed by David S. Miller

[TIPC]: Non-operation-affecting corrections to comments & function definitions.

Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
Signed-off-by: default avatarPer Liden <per.liden@ericsson.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 687a25f1
...@@ -437,7 +437,7 @@ static int dest_name_check(struct sockaddr_tipc *dest, struct msghdr *m) ...@@ -437,7 +437,7 @@ static int dest_name_check(struct sockaddr_tipc *dest, struct msghdr *m)
* @iocb: (unused) * @iocb: (unused)
* @sock: socket structure * @sock: socket structure
* @m: message to send * @m: message to send
* @total_len: (unused) * @total_len: length of message
* *
* Message must have an destination specified explicitly. * Message must have an destination specified explicitly.
* Used for SOCK_RDM and SOCK_DGRAM messages, * Used for SOCK_RDM and SOCK_DGRAM messages,
...@@ -538,7 +538,7 @@ static int send_msg(struct kiocb *iocb, struct socket *sock, ...@@ -538,7 +538,7 @@ static int send_msg(struct kiocb *iocb, struct socket *sock,
* @iocb: (unused) * @iocb: (unused)
* @sock: socket structure * @sock: socket structure
* @m: message to send * @m: message to send
* @total_len: (unused) * @total_len: length of message
* *
* Used for SOCK_SEQPACKET messages and SOCK_STREAM data. * Used for SOCK_SEQPACKET messages and SOCK_STREAM data.
* *
...@@ -1386,7 +1386,7 @@ static int accept(struct socket *sock, struct socket *newsock, int flags) ...@@ -1386,7 +1386,7 @@ static int accept(struct socket *sock, struct socket *newsock, int flags)
/** /**
* shutdown - shutdown socket connection * shutdown - shutdown socket connection
* @sock: socket structure * @sock: socket structure
* @how: direction to close (always treated as read + write) * @how: direction to close (unused; always treated as read + write)
* *
* Terminates connection (if necessary), then purges socket's receive queue. * Terminates connection (if necessary), then purges socket's receive queue.
* *
...@@ -1469,7 +1469,8 @@ static int shutdown(struct socket *sock, int how) ...@@ -1469,7 +1469,8 @@ static int shutdown(struct socket *sock, int how)
* Returns 0 on success, errno otherwise * Returns 0 on success, errno otherwise
*/ */
static int setsockopt(struct socket *sock, int lvl, int opt, char *ov, int ol) static int setsockopt(struct socket *sock,
int lvl, int opt, char __user *ov, int ol)
{ {
struct tipc_sock *tsock = tipc_sk(sock->sk); struct tipc_sock *tsock = tipc_sk(sock->sk);
u32 value; u32 value;
...@@ -1525,7 +1526,8 @@ static int setsockopt(struct socket *sock, int lvl, int opt, char *ov, int ol) ...@@ -1525,7 +1526,8 @@ static int setsockopt(struct socket *sock, int lvl, int opt, char *ov, int ol)
* Returns 0 on success, errno otherwise * Returns 0 on success, errno otherwise
*/ */
static int getsockopt(struct socket *sock, int lvl, int opt, char *ov, int *ol) static int getsockopt(struct socket *sock,
int lvl, int opt, char __user *ov, int *ol)
{ {
struct tipc_sock *tsock = tipc_sk(sock->sk); struct tipc_sock *tsock = tipc_sk(sock->sk);
int len; int len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment