gcc-3.5: net/atm/common.c
Subsystems (3)
PATCH 2/18 gcc-3.5: net/atm/common.c
net/atm/common.c: In function `vcc_create':net/atm/common.c:151: error: invalid lvalue in assignment
---
25-akpm/net/atm/common.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
net/atm/common.c renamed from net/atm/common.c~gcc-35-atm-common +1 -1
@@ -148,7 +148,7 @@ int vcc_create(struct socket *sock, int sk->sk_state_change = vcc_def_wakeup; sk->sk_write_space = vcc_write_space; - vcc =atm_sk (sk) =kmalloc (sizeof (*vcc),GFP_KERNEL ); + vcc = sk->sk_protinfo =kmalloc (sizeof (*vcc),GFP_KERNEL );if (!vcc) {sk_free (sk);return -ENOMEM ;
_