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

[APPLETALK]: Do not use lvalue in assignment.

parent 7a63bfcd
......@@ -1051,7 +1051,7 @@ static int atalk_create(struct socket *sock, int protocol)
sk = sk_alloc(PF_APPLETALK, GFP_KERNEL, 1, NULL);
if (!sk)
goto out;
at = at_sk(sk) = kmalloc(sizeof(*at), GFP_KERNEL);
at = sk->sk_protinfo = kmalloc(sizeof(*at), GFP_KERNEL);
if (!at)
goto outsk;
memset(at, 0, sizeof(*at));
......
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