From: Michael Ellerman <mpe@ellerman.id.au>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, linuxppc-dev@lists.ozlabs.org
Subject: Re: [powerpc:merge 138/138] arch/powerpc/kernel/setup_64.c:354:2: error: implicit declaration of function 'this_cpu_enable_ftrace'; did you mean 'preempt_enable_notrace'?
Date: Mon, 14 May 2018 17:10:06 +1000 [thread overview]
Message-ID: <871seer9v5.fsf@concordia.ellerman.id.au> (raw)
In-Reply-To: <201805100608.5GVmAvCt%fengguang.wu@intel.com>
kbuild test robot <lkp@intel.com> writes:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git merge
> head: 900be8ab1549359ba980cfb042a043128204a963
> commit: 900be8ab1549359ba980cfb042a043128204a963 [138/138] Automatic merge of branches 'master', 'next' and 'fixes' into merge
> 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 900be8ab1549359ba980cfb042a043128204a963
> # save the attached .config to linux build tree
> make.cross ARCH=powerpc
>
> All errors (new ones prefixed by >>):
>
> In file included from include/linux/ftrace.h:21:0,
> from arch/powerpc/include/asm/livepatch.h:23,
> from arch/powerpc/kernel/setup_64.c:67:
> arch/powerpc/include/asm/ftrace.h:2:0: error: unterminated #ifndef
> #ifndef _ASM_POWERPC_FTRACE
>
> arch/powerpc/kernel/setup_64.c: In function 'early_setup':
>>> arch/powerpc/kernel/setup_64.c:354:2: error: implicit declaration of function 'this_cpu_enable_ftrace'; did you mean 'preempt_enable_notrace'? [-Werror=implicit-function-declaration]
> this_cpu_enable_ftrace();
> ^~~~~~~~~~~~~~~~~~~~~~
> preempt_enable_notrace
> cc1: all warnings being treated as errors
> --
> In file included from arch/powerpc/kernel/smp.c:62:0:
> arch/powerpc/include/asm/ftrace.h:2:0: error: unterminated #ifndef
> #ifndef _ASM_POWERPC_FTRACE
This was caused by a bad merge by me. Fixed now.
cheers
prev parent reply other threads:[~2018-05-14 7:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-09 22:33 [powerpc:merge 138/138] arch/powerpc/kernel/setup_64.c:354:2: error: implicit declaration of function 'this_cpu_enable_ftrace'; did you mean 'preempt_enable_notrace'? kbuild test robot
2018-05-14 7:10 ` Michael Ellerman [this message]
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=871seer9v5.fsf@concordia.ellerman.id.au \
--to=mpe@ellerman.id.au \
--cc=kbuild-all@01.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=lkp@intel.com \
/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