Thread (2 messages) flat view 2 messages, 2 authors, 2018-05-14

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'?

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-05-14 07:10:12

kbuild test robot [off-list ref] 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':
quoted
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help