Commit 6867b0cc authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[ECONET]: Do not use lvalue in assignment.

parent e7d52698
......@@ -568,7 +568,7 @@ static int econet_create(struct socket *sock, int protocol)
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));
......
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