Commit b992639f authored by Stephen Hemminger's avatar Stephen Hemminger

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

parent d5231ae9
......@@ -1010,7 +1010,7 @@ int nr_rx_frame(struct sk_buff *skb, struct net_device *dev)
}
static int nr_sendmsg(struct kiocb *iocb, struct socket *sock,
struct msghdr *msg, int len)
struct msghdr *msg, size_t len)
{
struct sock *sk = sock->sk;
nr_cb *nr = nr_sk(sk);
......@@ -1119,11 +1119,11 @@ static int nr_sendmsg(struct kiocb *iocb, struct socket *sock,
}
static int nr_recvmsg(struct kiocb *iocb, struct socket *sock,
struct msghdr *msg, int size, int flags)
struct msghdr *msg, size_t size, int flags)
{
struct sock *sk = sock->sk;
struct sockaddr_ax25 *sax = (struct sockaddr_ax25 *)msg->msg_name;
int copied;
size_t copied;
struct sk_buff *skb;
int er;
......
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