From: Stephen Hemminger <shemminger@osdl.org>
To: "David S. Miller" <davem@redhat.com>,
Chas Williams <chas@cmf.nrl.navy.mil>
Cc: netdev@oss.sgi.com
Subject: [PATCH[ (6/15) atm -- size_t in send/recvmsg
Date: Fri, 9 Jan 2004 13:48:12 -0800 [thread overview]
Message-ID: <20040109134812.6fa874c8@linux.local> (raw)
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,
reply other threads:[~2004-01-09 21:48 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040109134812.6fa874c8@linux.local \
--to=shemminger@osdl.org \
--cc=chas@cmf.nrl.navy.mil \
--cc=davem@redhat.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).