linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Jiri Slaby <jslaby@suse.cz>
Cc: kbuild-all@01.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: arch/powerpc/kernel/process.c:1062:6: error: conflicting types for 'exit_thread'
Date: Sat, 12 May 2018 19:21:10 +0800	[thread overview]
Message-ID: <201805121903.dKRWd0gM%fengguang.wu@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2018-05-12 11:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201805121903.dKRWd0gM%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jslaby@suse.cz \
    --cc=kbuild-all@01.org \
    --cc=linux-mm@kvack.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).