Hi Zhao,

[auto build test ERROR on tip/x86/core]
[also build test ERROR on v4.5 next-20160316]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Zhao-Lei/Make-core_pattern-support-namespace/20160316-172918
config: xtensa-allyesconfig (attached as .config)
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   kernel/fork.c: In function 'copy_process':
>> kernel/fork.c:1455:11: error: too many arguments to function 
>> 'copy_thread_tls'
     retval = copy_thread_tls(clone_flags, stack_start, stack_size, p, tls,
              ^
   In file included from include/linux/uaccess.h:4:0,
                    from include/linux/highmem.h:8,
                    from include/linux/pagemap.h:10,
                    from include/linux/mempolicy.h:14,
                    from kernel/fork.c:21:
   include/linux/sched.h:2622:19: note: declared here
    static inline int copy_thread_tls(
                      ^

vim +/copy_thread_tls +1455 kernel/fork.c

  1449          retval = copy_namespaces(clone_flags, p);
  1450          if (retval)
  1451                  goto bad_fork_cleanup_mm;
  1452          retval = copy_io(clone_flags, p);
  1453          if (retval)
  1454                  goto bad_fork_cleanup_namespaces;
> 1455          retval = copy_thread_tls(clone_flags, stack_start, stack_size, 
> p, tls,
  1456                                   return_to_kernel);
  1457          if (retval)
  1458                  goto bad_fork_cleanup_io;

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

Attachment: .config.gz
Description: Binary data

Reply via email to