Commit 1845112b authored by David S. Miller's avatar David S. Miller

net/irda/af_irda.c: Fix sendmsg/recvmsg args in comments too.

parent 2c606478
...@@ -1253,7 +1253,7 @@ static int irda_release(struct socket *sock) ...@@ -1253,7 +1253,7 @@ static int irda_release(struct socket *sock)
} }
/* /*
* Function irda_sendmsg (sock, msg, len, scm) * Function irda_sendmsg (iocb, sock, msg, len, scm)
* *
* Send message down to TinyTP. This function is used for both STREAM and * Send message down to TinyTP. This function is used for both STREAM and
* SEQPACK services. This is possible since it forces the client to * SEQPACK services. This is possible since it forces the client to
...@@ -1326,7 +1326,7 @@ static int irda_sendmsg(struct kiocb *iocb, struct socket *sock, ...@@ -1326,7 +1326,7 @@ static int irda_sendmsg(struct kiocb *iocb, struct socket *sock,
} }
/* /*
* Function irda_recvmsg_dgram (sock, msg, size, flags, scm) * Function irda_recvmsg_dgram (iocb, sock, msg, size, flags, scm)
* *
* Try to receive message and copy it to user. The frame is discarded * Try to receive message and copy it to user. The frame is discarded
* after being read, regardless of how much the user actually read * after being read, regardless of how much the user actually read
...@@ -1380,7 +1380,7 @@ static int irda_recvmsg_dgram(struct kiocb *iocb, struct socket *sock, ...@@ -1380,7 +1380,7 @@ static int irda_recvmsg_dgram(struct kiocb *iocb, struct socket *sock,
} }
/* /*
* Function irda_recvmsg_stream (sock, msg, size, flags, scm) * Function irda_recvmsg_stream (iocb, sock, msg, size, flags, scm)
*/ */
static int irda_recvmsg_stream(struct kiocb *iocb, struct socket *sock, static int irda_recvmsg_stream(struct kiocb *iocb, struct socket *sock,
struct msghdr *msg, int size, int flags, struct msghdr *msg, int size, int flags,
...@@ -1504,7 +1504,7 @@ static int irda_recvmsg_stream(struct kiocb *iocb, struct socket *sock, ...@@ -1504,7 +1504,7 @@ static int irda_recvmsg_stream(struct kiocb *iocb, struct socket *sock,
} }
/* /*
* Function irda_sendmsg_dgram (sock, msg, len, scm) * Function irda_sendmsg_dgram (iocb, sock, msg, len, scm)
* *
* Send message down to TinyTP for the unreliable sequenced * Send message down to TinyTP for the unreliable sequenced
* packet service... * packet service...
...@@ -1570,7 +1570,7 @@ static int irda_sendmsg_dgram(struct kiocb *iocb, struct socket *sock, ...@@ -1570,7 +1570,7 @@ static int irda_sendmsg_dgram(struct kiocb *iocb, struct socket *sock,
} }
/* /*
* Function irda_sendmsg_ultra (sock, msg, len, scm) * Function irda_sendmsg_ultra (iocb, sock, msg, len, scm)
* *
* Send message down to IrLMP for the unreliable Ultra * Send message down to IrLMP for the unreliable Ultra
* packet service... * packet service...
......
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