Hi Hoeun,

[auto build test ERROR on next-20170203]
[also build test ERROR on v4.10-rc6]
[cannot apply to linus/master linux/master v4.9-rc8 v4.9-rc7 v4.9-rc6]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Hoeun-Ryu/fork-dynamically-allocate-cache-array-for-vmapped-stacks-using-cpuhp/20170203-234431
config: i386-randconfig-x004-201705 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   kernel/fork.c: In function 'fork_init':
>> kernel/fork.c:505:6: error: 'alloc_vm_stack_cache' undeclared (first use in 
>> this function)
         alloc_vm_stack_cache, free_vm_stack_cache);
         ^~~~~~~~~~~~~~~~~~~~
   kernel/fork.c:505:6: note: each undeclared identifier is reported only once 
for each function it appears in
>> kernel/fork.c:505:28: error: 'free_vm_stack_cache' undeclared (first use in 
>> this function)
         alloc_vm_stack_cache, free_vm_stack_cache);
                               ^~~~~~~~~~~~~~~~~~~

vim +/alloc_vm_stack_cache +505 kernel/fork.c

   499  
   500          for (i = 0; i < UCOUNT_COUNTS; i++) {
   501                  init_user_ns.ucount_max[i] = max_threads/2;
   502          }
   503  
   504          cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "vm_stack_cache",
 > 505                            alloc_vm_stack_cache, free_vm_stack_cache);
   506  }
   507  
   508  int __weak arch_dup_task_struct(struct task_struct *dst,

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

Attachment: .config.gz
Description: application/gzip

Reply via email to