arch/powerpc/kernel/process.c:1062:6: error: conflicting types for 'exit_thread'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jiri,

FYI, the error/warning still remains.

bisected to: af22cc785fe4a1127ce6df206405629ce4870761  BACKPORT: exit_thread: accept a task parameter to be exited
commit date: 3 months ago
config: powerpc-defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout af22cc785fe4a1127ce6df206405629ce4870761
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All errors (new ones prefixed by >>):

>> arch/powerpc/kernel/process.c:1062:6: error: conflicting types for 'exit_thread'
    void exit_thread(void)
         ^~~~~~~~~~~
   In file included from arch/powerpc/kernel/process.c:18:0:
   include/linux/sched.h:2821:13: note: previous declaration of 'exit_thread' was here
    extern void exit_thread(struct task_struct *tsk);
                ^~~~~~~~~~~

vim +/exit_thread +1062 arch/powerpc/kernel/process.c

14cf11af Paul Mackerras 2005-09-26  1061  
14cf11af Paul Mackerras 2005-09-26 @1062  void exit_thread(void)
14cf11af Paul Mackerras 2005-09-26  1063  {
48abec07 Paul Mackerras 2005-11-30  1064  	discard_lazy_cpu_state();
14cf11af Paul Mackerras 2005-09-26  1065  }
14cf11af Paul Mackerras 2005-09-26  1066  

:::::: The code at line 1062 was first introduced by commit
:::::: 14cf11af6cf608eb8c23e989ddb17a715ddce109 powerpc: Merge enough to start building in arch/powerpc.

:::::: TO: Paul Mackerras <paulus@xxxxxxxxx>
:::::: CC: Paul Mackerras <paulus@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux