netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH[ (6/15) atm -- size_t in send/recvmsg
@ 2004-01-09 21:48 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2004-01-09 21:48 UTC (permalink / raw)
  To: David S. Miller, Chas Williams; +Cc: netdev

Convert ATM for unsigned length send/recvmsg to match new prototype.

diff -Nru a/net/atm/common.c b/net/atm/common.c
--- a/net/atm/common.c	Mon Dec  8 16:19:46 2003
+++ b/net/atm/common.c	Mon Dec  8 16:19:46 2003
@@ -463,7 +463,7 @@
 
 
 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_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);
diff -Nru a/net/atm/common.h b/net/atm/common.h
--- a/net/atm/common.h	Mon Dec  8 16:19:46 2003
+++ b/net/atm/common.h	Mon Dec  8 16:19:46 2003
@@ -14,9 +14,9 @@
 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,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-01-09 21:48 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:48 [PATCH[ (6/15) atm -- 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).