lkml.org 
[lkml]   [2014]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: linux-next: build failure after merge of the ftrace tree
On Fri, 21 Nov 2014 18:32:15 +1100
Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi Steven,
>
> After merging the ftrace tree, today's linux-next build (powerpc
> allnoconfig) failed like this:
>
> In file included from include/asm-generic/percpu.h:6:0,
> from arch/powerpc/include/asm/percpu.h:19,
> from include/linux/percpu.h:11,
> from include/linux/sched.h:41,
> from arch/powerpc/kernel/asm-offsets.c:17:
> include/linux/percpu.h:138:17: error: 'printk_func_t' undeclared here (not in a function)
> DECLARE_PER_CPU(printk_func_t, printk_func);
> ^
> include/linux/percpu-defs.h:101:38: note: in definition of macro 'DECLARE_PER_CPU_SECTION'
> extern __PCPU_ATTRS(sec) __typeof__(type) name
> ^
> include/linux/percpu.h:138:1: note: in expansion of macro 'DECLARE_PER_CPU'
> DECLARE_PER_CPU(printk_func_t, printk_func);
> ^
>
> Caused by commit afdc34a3d3b8 ("printk: Add per_cpu printk func to
> allow printk to be diverted"). See Rule 1 in
> Documentation/SubmitChecklist.
>

I had to fight header include hell with that change. That's why rule 1
wasn't followed so well.

Thanks Jiri for fixing it. I'll start running your patch through my
tests.

-- Steve


\
 
 \ /
  Last update: 2014-11-21 14:21    [W:0.044 / U:4.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site