Advertisement
Guest User

Untitled

a guest
Aug 29th, 2016
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CC kernel/cgroup.o
  2. CC kernel/cgroup_freezer.o
  3. kernel/cgroup_freezer.c: In function 'freezer_can_attach':
  4. kernel/cgroup_freezer.c:171:5: warning: 'task' is used uninitialized in this function [-Wuninitialized]
  5. if ((current != task) && (!capable(CAP_SYS_ADMIN))) {
  6. ^
  7. CC kernel/cpuset.o
  8. kernel/cpuset.c: In function 'cpuset_can_attach':
  9. kernel/cpuset.c:1371:18: error: 'task' undeclared (first use in this function)
  10. if ((current != task) && (!capable(CAP_SYS_ADMIN))) {
  11. ^
  12. kernel/cpuset.c:1371:18: note: each undeclared identifier is reported only once for each function it appears in
  13. kernel/cpuset.c: At top level:
  14. kernel/cpuset.c:1410:12: error: conflicting types for 'cpuset_can_attach'
  15. static int cpuset_can_attach(struct cgroup *cgrp, struct cgroup_taskset *tset)
  16. ^
  17. kernel/cpuset.c:1366:12: note: previous definition of 'cpuset_can_attach' was here
  18. static int cpuset_can_attach(struct cgroup_subsys *ss, struct cgroup *cont,
  19. ^
  20. kernel/cpuset.c:1366:12: warning: 'cpuset_can_attach' defined but not used [-Wunused-function]
  21. kernel/cpuset.c:1395:12: warning: 'cpuset_can_attach_task' defined but not used [-Wunused-function]
  22. static int cpuset_can_attach_task(struct cgroup *cgrp, struct task_struct *task)
  23. ^
  24. scripts/Makefile.build:307: recipe for target 'kernel/cpuset.o' failed
  25. make[1]: *** [kernel/cpuset.o] Error 1
  26. Makefile:950: recipe for target 'kernel' failed
  27. make: *** [kernel] Error 2
Advertisement
RAW Paste Data Copied
Advertisement