Commit 6f1d1f68 authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[ROSE]: Do not use lvalue in assignment.

parent 384aca7a
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment