netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 5/18] gcc-3.5: econet
@ 2004-01-25 11:07 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2004-01-25 11:07 UTC (permalink / raw)
  To: davem; +Cc: netdev



net/econet/af_econet.c: In function `econet_create':
net/econet/af_econet.c:571: error: invalid lvalue in assignment



---

 25-akpm/net/econet/af_econet.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN net/econet/af_econet.c~gcc-35-econet net/econet/af_econet.c
--- 25/net/econet/af_econet.c~gcc-35-econet	Fri Jan 23 15:30:25 2004
+++ 25-akpm/net/econet/af_econet.c	Fri Jan 23 15:30:40 2004
@@ -568,7 +568,7 @@ static int econet_create(struct socket *
 	sock_init_data(sock,sk);
 	sk_set_owner(sk, THIS_MODULE);
 
-	eo = ec_sk(sk) = kmalloc(sizeof(*eo), GFP_KERNEL);
+	eo = sk->sk_protinfo = kmalloc(sizeof(*eo), GFP_KERNEL);
 	if (!eo)
 		goto out_free;
 	memset(eo, 0, sizeof(*eo));

_

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

only message in thread, other threads:[~2004-01-25 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-25 11:07 [patch 5/18] gcc-3.5: econet akpm

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).