Commit 82bfe628 authored by David S. Miller's avatar David S. Miller

net/irda/af_irda.c: Update for new sendmsg/recvmsg args.

parent 575dab14
...@@ -1382,8 +1382,9 @@ static int irda_recvmsg_dgram(struct kiocb *iocb, struct socket *sock, ...@@ -1382,8 +1382,9 @@ static int irda_recvmsg_dgram(struct kiocb *iocb, struct socket *sock,
/* /*
* Function irda_recvmsg_stream (sock, msg, size, flags, scm) * Function irda_recvmsg_stream (sock, msg, size, flags, scm)
*/ */
static int irda_recvmsg_stream(struct socket *sock, struct msghdr *msg, static int irda_recvmsg_stream(struct kiocb *iocb, struct socket *sock,
int size, int flags, struct scm_cookie *scm) struct msghdr *msg, int size, int flags,
struct scm_cookie *scm)
{ {
struct sock *sk = sock->sk; struct sock *sk = sock->sk;
struct irda_sock *self = irda_sk(sk); struct irda_sock *self = irda_sk(sk);
...@@ -1509,8 +1510,8 @@ static int irda_recvmsg_stream(struct socket *sock, struct msghdr *msg, ...@@ -1509,8 +1510,8 @@ static int irda_recvmsg_stream(struct socket *sock, struct msghdr *msg,
* packet service... * packet service...
* *
*/ */
static int irda_sendmsg_dgram(struct socket *sock, struct msghdr *msg, static int irda_sendmsg_dgram(struct kiocb *iocb, struct socket *sock,
int len, struct scm_cookie *scm) struct msghdr *msg, int len, struct scm_cookie *scm)
{ {
struct sock *sk = sock->sk; struct sock *sk = sock->sk;
struct irda_sock *self; struct irda_sock *self;
...@@ -1575,8 +1576,8 @@ static int irda_sendmsg_dgram(struct socket *sock, struct msghdr *msg, ...@@ -1575,8 +1576,8 @@ static int irda_sendmsg_dgram(struct socket *sock, struct msghdr *msg,
* packet service... * packet service...
*/ */
#ifdef CONFIG_IRDA_ULTRA #ifdef CONFIG_IRDA_ULTRA
static int irda_sendmsg_ultra(struct socket *sock, struct msghdr *msg, static int irda_sendmsg_ultra(struct kiocb *iocb, struct socket *sock,
int len, struct scm_cookie *scm) struct msghdr *msg, int len, struct scm_cookie *scm)
{ {
struct sock *sk = sock->sk; struct sock *sk = sock->sk;
struct irda_sock *self; struct irda_sock *self;
......
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