linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [sashal-linux-stable-security:linux-3.12.y-security 590/1384] mm/util.c:277:3: error: implicit declaration of function 'for_each_thread'
@ 2016-08-12  0:00 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-08-12  0:00 UTC (permalink / raw)
  To: Oleg Nesterov
  Cc: kbuild-all, Sasha Levin, Andrew Morton,
	Linux Memory Management List, Jiri Slaby

[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable-security.git linux-3.12.y-security
head:   84d66c239e31d2811928d58eb9f4721dba588236
commit: 9ac1e8708f42427bffe12c0f7f0813efe730a29d [590/1384] vm_is_stack: use for_each_thread() rather then buggy while_each_thread()
config: i386-randconfig-s0-201632 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.3-14) 4.9.3
reproduce:
        git checkout 9ac1e8708f42427bffe12c0f7f0813efe730a29d
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   mm/util.c: In function 'vm_is_stack':
>> mm/util.c:277:3: error: implicit declaration of function 'for_each_thread' [-Werror=implicit-function-declaration]
      for_each_thread(task, t) {
      ^
>> mm/util.c:277:28: error: expected ';' before '{' token
      for_each_thread(task, t) {
                               ^
   cc1: some warnings being treated as errors

vim +/for_each_thread +277 mm/util.c

   271			return task->pid;
   272	
   273		if (in_group) {
   274			struct task_struct *t;
   275	
   276			rcu_read_lock();
 > 277			for_each_thread(task, t) {
   278				if (vm_is_stack_for_task(t, vma)) {
   279					ret = t->pid;
   280					goto done;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 26765 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-08-11 23:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-12  0:00 [sashal-linux-stable-security:linux-3.12.y-security 590/1384] mm/util.c:277:3: error: implicit declaration of function 'for_each_thread' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox