diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-01-24 19:08:28 -0800 |
|---|---|---|
| committer | David S. Miller <davem@kernel.bkbits.net> | 2004-01-24 19:08:28 -0800 |
| commit | 6f1d1f68fa4054c2c50bb2fac8caf30997967fdd (patch) | |
| tree | fd08300abcd80650c9ce65fc8cb2366b7c4998dd | |
| parent | 384aca7ab810d1341826f86771410c37be2db263 (diff) | |
[ROSE]: Do not use lvalue in assignment.
| -rw-r--r-- | net/rose/af_rose.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rose/af_rose.c b/net/rose/af_rose.c index f5ec0c83d045..89a7ef01bf21 100644 --- a/net/rose/af_rose.c +++ b/net/rose/af_rose.c @@ -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; |
