From: akpm@osdl.org
To: davem@redhat.com
Cc: netdev@oss.sgi.com
Subject: [patch 7/18] gcc-3.5: ipx
Date: Sun, 25 Jan 2004 03:07:22 -0800 [thread overview]
Message-ID: <200401251107.i0PB7Mo25077@mail.osdl.org> (raw)
net/ipx/af_ipx.c: In function `ipx_create':
net/ipx/af_ipx.c:1354: error: invalid lvalue in assignment
---
25-akpm/net/ipx/af_ipx.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN net/ipx/af_ipx.c~gcc-35-ipx net/ipx/af_ipx.c
--- 25/net/ipx/af_ipx.c~gcc-35-ipx Fri Jan 23 15:40:35 2004
+++ 25-akpm/net/ipx/af_ipx.c Fri Jan 23 15:40:53 2004
@@ -1351,7 +1351,7 @@ static int ipx_create(struct socket *soc
rc = -ENOMEM;
if (!sk)
goto out;
- ipx = ipx_sk(sk) = kmalloc(sizeof(*ipx), GFP_KERNEL);
+ ipx = sk->sk_protinfo = kmalloc(sizeof(*ipx), GFP_KERNEL);
if (!ipx)
goto outsk;
memset(ipx, 0, sizeof(*ipx));
_
reply other threads:[~2004-01-25 11:07 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=200401251107.i0PB7Mo25077@mail.osdl.org \
--to=akpm@osdl.org \
--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).