Commit df5b6439 authored by Stephen Hemminger's avatar Stephen Hemminger

[ATM]: Use size_t for size in {send,recv}msg.

parent af817e91
......@@ -463,7 +463,7 @@ int vcc_connect(struct socket *sock, int itf, short vpi, int vci)
int vcc_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
int size, int flags)
size_t size, int flags)
{
struct sock *sk = sock->sk;
struct atm_vcc *vcc;
......@@ -503,7 +503,7 @@ int vcc_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
int vcc_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m,
int total_len)
size_t total_len)
{
struct sock *sk = sock->sk;
DEFINE_WAIT(wait);
......
......@@ -14,9 +14,9 @@ int vcc_create(struct socket *sock, int protocol, int family);
int vcc_release(struct socket *sock);
int vcc_connect(struct socket *sock, int itf, short vpi, int vci);
int vcc_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
int size, int flags);
size_t size, int flags);
int vcc_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m,
int total_len);
size_t total_len);
unsigned int vcc_poll(struct file *file, struct socket *sock, poll_table *wait);
int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
int vcc_setsockopt(struct socket *sock, int level, int optname, char *optval,
......
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