Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933085AbcLSLMA (ORCPT ); Mon, 19 Dec 2016 06:12:00 -0500 Received: from mail-wj0-f193.google.com ([209.85.210.193]:34767 "EHLO mail-wj0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932982AbcLSLL5 (ORCPT ); Mon, 19 Dec 2016 06:11:57 -0500 Date: Mon, 19 Dec 2016 12:10:46 +0100 From: Emese Revfy To: Kees Cook Cc: "kernel-hardening@lists.openwall.com" , LKML , Arnd Bergmann , Josh Triplett , PaX Team , Brad Spengler , Michal Marek , Masahiro Yamada , linux-kbuild , minipli@ld-linux.so, Russell King , Catalin Marinas , Rasmus Villemoes , David Brown , "benh@kernel.crashing.org" , Thomas Gleixner , Andrew Morton , Jeff Layton , Sam Ravnborg Subject: Re: [PATCH v4 0/4] Introduce the initify gcc plugin Message-Id: <20161219121046.646e5ef425178fce8c2cb555@gmail.com> In-Reply-To: References: <1481925984-98605-1-git-send-email-keescook@chromium.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 774 Lines: 22 On Fri, 16 Dec 2016 14:19:10 -0800 Kees Cook 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