diff options
Diffstat (limited to 'net/atm/common.c')
-rw-r--r-- | net/atm/common.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/atm/common.c b/net/atm/common.c index b84057e41bd6..ed0466637e13 100644 --- a/net/atm/common.c +++ b/net/atm/common.c | |||
@@ -523,8 +523,8 @@ int vcc_connect(struct socket *sock, int itf, short vpi, int vci) | |||
523 | return 0; | 523 | return 0; |
524 | } | 524 | } |
525 | 525 | ||
526 | int vcc_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, | 526 | int vcc_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, |
527 | size_t size, int flags) | 527 | int flags) |
528 | { | 528 | { |
529 | struct sock *sk = sock->sk; | 529 | struct sock *sk = sock->sk; |
530 | struct atm_vcc *vcc; | 530 | struct atm_vcc *vcc; |
@@ -569,8 +569,7 @@ int vcc_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, | |||
569 | return copied; | 569 | return copied; |
570 | } | 570 | } |
571 | 571 | ||
572 | int vcc_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, | 572 | int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t size) |
573 | size_t size) | ||
574 | { | 573 | { |
575 | struct sock *sk = sock->sk; | 574 | struct sock *sk = sock->sk; |
576 | DEFINE_WAIT(wait); | 575 | DEFINE_WAIT(wait); |