From: akpm@osdl.org
To: davem@redhat.com
Cc: netdev@oss.sgi.com
Subject: [patch 14/18] gcc-3.5: pppoe
Date: Sun, 25 Jan 2004 03:08:03 -0800 [thread overview]
Message-ID: <200401251108.i0PB83o25125@mail.osdl.org> (raw)
drivers/net/pppoe.c: In function `pppoe_create':
drivers/net/pppoe.c:519: error: invalid lvalue in assignment
---
drivers/net/pppoe.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -puN drivers/net/pppoe.c~gcc-35-pppoe drivers/net/pppoe.c
--- 25/drivers/net/pppoe.c~gcc-35-pppoe 2004-01-25 03:01:42.000000000 -0800
+++ 25-akpm/drivers/net/pppoe.c 2004-01-25 03:01:42.000000000 -0800
@@ -517,7 +517,7 @@ static int pppoe_create(struct socket *s
sk->sk_protocol = PX_PROTO_OE;
sk->sk_destruct = pppoe_sk_free;
- po = pppox_sk(sk) = kmalloc(sizeof(*po), GFP_KERNEL);
+ po = sk->sk_protinfo = kmalloc(sizeof(*po), GFP_KERNEL);
if (!po)
goto frees;
memset(po, 0, sizeof(*po));
_
reply other threads:[~2004-01-25 11:08 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=200401251108.i0PB83o25125@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).