* [PATCH] (4/17) pppoe -- size_t in send/recvmsg
@ 2004-01-09 21:42 Stephen Hemminger
0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2004-01-09 21:42 UTC (permalink / raw)
To: David S. Miller; +Cc: netdev, Michal Ostrowski
Convert PPPoe for size_t in send/recv msg
diff -Nru a/drivers/net/pppoe.c b/drivers/net/pppoe.c
--- a/drivers/net/pppoe.c Mon Dec 8 16:19:40 2003
+++ b/drivers/net/pppoe.c Mon Dec 8 16:19:40 2003
@@ -775,8 +775,8 @@
}
-static int pppoe_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m,
- int total_len)
+static int pppoe_sendmsg(struct kiocb *iocb, struct socket *sock,
+ struct msghdr *m, size_t total_len)
{
struct sk_buff *skb = NULL;
struct sock *sk = sock->sk;
@@ -939,7 +939,7 @@
};
static int pppoe_recvmsg(struct kiocb *iocb, struct socket *sock,
- struct msghdr *m, int total_len, int flags)
+ struct msghdr *m, size_t total_len, int flags)
{
struct sock *sk = sock->sk;
struct sk_buff *skb = NULL;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-01-09 21:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-09 21:42 [PATCH] (4/17) pppoe -- size_t in send/recvmsg Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).