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