Re: [PATCH v4 0/4] Introduce the initify gcc plugin

From: Emese Revfy
Date: Tue Jan 17 2017 - 15:36:07 EST


On Thu, 12 Jan 2017 15:40:41 -0800
Kees Cook <keescook@xxxxxxxxxxxx> wrote:

> WARNING: drivers/clk/bcm/built-in.o(.text+0xec2): Section mismatch in
> reference from the function clk_gate() to the variable
> .init.rodata.str:__func__.29708
> The function clk_gate() references
> the variable __initconst __func__.29708.
> This is often because clk_gate lacks a __initconst
> annotation or the annotation of __func__.29708 is wrong.
>
> I used my initify v5 development tree, with the following patch, with
> "make allyesconfig":
>
> http://git.kernel.org/cgit/linux/kernel/git/kees/linux.git/log/?h=for-next/gcc-plugin/initify

Hi,

I can't reproduce this mismatch with allyesconfig. Could you please send me your .config?

--
Emese