All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 15/18] gcc-3.5: net/rose
@ 2004-01-25 11:08 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2004-01-25 11:08 UTC (permalink / raw)
  To: davem; +Cc: netdev



net/rose/af_rose.c: In function `rose_alloc_sock':
net/rose/af_rose.c:136: error: invalid lvalue in assignment



---

 net/rose/af_rose.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN net/rose/af_rose.c~gcc-35-rose net/rose/af_rose.c
--- 25/net/rose/af_rose.c~gcc-35-rose	2004-01-23 21:38:29.000000000 -0800
+++ 25-akpm/net/rose/af_rose.c	2004-01-23 21:38:52.000000000 -0800
@@ -133,7 +133,7 @@ static struct sock *rose_alloc_sock(void
 	if (!sk)
 		goto out;
 
-	rose = rose_sk(sk) = kmalloc(sizeof(*rose), GFP_ATOMIC);
+	rose = sk->sk_protinfo = kmalloc(sizeof(*rose), GFP_ATOMIC);
 	if (!rose)
 		goto frees;
 

_

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

only message in thread, other threads:[~2004-01-25 11:08 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:08 [patch 15/18] gcc-3.5: net/rose 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.