All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 7/18] gcc-3.5: ipx
@ 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/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));

_

^ 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 7/18] gcc-3.5: ipx akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.