linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* arch/powerpc/kernel/process.c:1062:6: error: conflicting types for 'exit_thread'
@ 2018-05-12 11:21 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2018-05-12 11:21 UTC (permalink / raw)
  To: Jiri Slaby
  Cc: kbuild-all, Greg Kroah-Hartman, Andrew Morton,
	Linux Memory Management List

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

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@samba.org>
:::::: CC: Paul Mackerras <paulus@samba.org>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 21908 bytes --]

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

only message in thread, other threads:[~2018-05-12 11:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-12 11:21 arch/powerpc/kernel/process.c:1062:6: error: conflicting types for 'exit_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;
as well as URLs for NNTP newsgroup(s).