Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC kernel/cgroup.o
- CC kernel/cgroup_freezer.o
- kernel/cgroup_freezer.c: In function 'freezer_can_attach':
- kernel/cgroup_freezer.c:171:5: warning: 'task' is used uninitialized in this function [-Wuninitialized]
- if ((current != task) && (!capable(CAP_SYS_ADMIN))) {
- ^
- CC kernel/cpuset.o
- kernel/cpuset.c: In function 'cpuset_can_attach':
- kernel/cpuset.c:1371:18: error: 'task' undeclared (first use in this function)
- if ((current != task) && (!capable(CAP_SYS_ADMIN))) {
- ^
- kernel/cpuset.c:1371:18: note: each undeclared identifier is reported only once for each function it appears in
- kernel/cpuset.c: At top level:
- kernel/cpuset.c:1410:12: error: conflicting types for 'cpuset_can_attach'
- static int cpuset_can_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)
- ^
- kernel/cpuset.c:1366:12: note: previous definition of 'cpuset_can_attach' was here
- static int cpuset_can_attach(struct cgroup_subsys *ss, struct cgroup *cont,
- ^
- kernel/cpuset.c:1366:12: warning: 'cpuset_can_attach' defined but not used [-Wunused-function]
- kernel/cpuset.c:1395:12: warning: 'cpuset_can_attach_task' defined but not used [-Wunused-function]
- static int cpuset_can_attach_task(struct cgroup *cgrp, struct task_struct *task)
- ^
- scripts/Makefile.build:307: recipe for target 'kernel/cpuset.o' failed
- make[1]: *** [kernel/cpuset.o] Error 1
- Makefile:950: recipe for target 'kernel' failed
- make: *** [kernel] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement