Thread (3 messages) 3 messages, 3 authors, 2012-10-26

[net-next:master 79/82] net/core/sock.c:1267:3: error: too many arguments to function 'sock_update_classid'

flat view

From: Fengguang Wu <hidden>
Date: 2012-10-26 08:01:06

Hi Daniel,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master
head:   e269ed26d4c9e6da1614709c1bf4c50ff8c8c5b3
commit: fd9a08a7b83074e34c13c6340f673f7a51f53489 [79/82] cgroup: net_cls: Pass in task to sock_update_classid()
config: x86_64-lkp (attached as .config)

All error/warnings:

net/core/sock.c: In function 'sk_alloc':
net/core/sock.c:1267:3: error: too many arguments to function 'sock_update_classid'
In file included from net/core/sock.c:131:0:
include/net/cls_cgroup.h:64:91: note: declared here

vim +1267 net/core/sock.c

154adbc8 Pavel Emelyanov   2007-11-01  1261  		 */
154adbc8 Pavel Emelyanov   2007-11-01  1262  		sk->sk_prot = sk->sk_prot_creator = prot;
154adbc8 Pavel Emelyanov   2007-11-01  1263  		sock_lock_init(sk);
3b1e0a65 YOSHIFUJI Hideaki 2008-03-26  1264  		sock_net_set(sk, get_net(net));
d66ee058 Jarek Poplawski   2009-08-30  1265  		atomic_set(&sk->sk_wmem_alloc, 1);
f8451725 Herbert Xu        2010-05-24  1266  
fd9a08a7 Daniel Wagner     2012-10-25 @1267  		sock_update_classid(sk, current);
406a3c63 John Fastabend    2012-07-20  1268  		sock_update_netprioidx(sk, current);
^1da177e Linus Torvalds    2005-04-16  1269  	}
a79af59e Frank Filz        2005-09-27  1270  

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help