Re: [PATCH v4 0/4] Introduce the initify gcc plugin
From: Emese Revfy
Date: Mon Dec 19 2016 - 06:12:02 EST
On Fri, 16 Dec 2016 14:19:10 -0800
Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> FWIW, it still seems to me that these aren't false positives:
>
> WARNING: vmlinux.o(.text.unlikely+0x1b1): Section mismatch in
> reference from the function uncore_pci_exit.part.22() to the function
> .init.text:uncore_free_pcibus_map()
> The function uncore_pci_exit.part.22() references
> the function __init uncore_free_pcibus_map().
> This is often because uncore_pci_exit.part.22 lacks a __init
> annotation or the annotation of uncore_free_pcibus_map is wrong.
Hi,
I can't reproduce this section mismatch. Could you please send me your .config?
Which gcc version did you use?
I used this tree: git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git initify-v4
Thanks
--
Emese