From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751291AbbJTFV7 (ORCPT ); Tue, 20 Oct 2015 01:21:59 -0400 Received: from ozlabs.org ([103.22.144.67]:34424 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750802AbbJTFV6 (ORCPT ); Tue, 20 Oct 2015 01:21:58 -0400 Date: Tue, 20 Oct 2015 16:21:55 +1100 From: Stephen Rothwell To: Michael Ellerman , Benjamin Herrenschmidt , Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Denis Kirjanov Subject: linux-next: build warning after merge of the powerpc tree Message-ID: <20151020162155.01391301@canb.auug.org.au> X-Mailer: Claws Mail 3.13.0 (GTK+ 2.24.28; 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 Hi all, After merging the powerpc tree, today's linux-next build (powerpc allyesconfig) produced this warning: WARNING: vmlinux.o(.text+0x9367c): Section mismatch in reference from the function .msi_bitmap_alloc() to the function .init.text:.memblock_virt_alloc_try_nid() The function .msi_bitmap_alloc() references the function __init .memblock_virt_alloc_try_nid(). This is often because .msi_bitmap_alloc lacks a __init annotation or the annotation of .memblock_virt_alloc_try_nid is wrong. Introduced (probably) by commit cb2d3883c603 ("powerpc/msi: Free the bitmap if it was slab allocated") -- Cheers, Stephen Rothwell sfr@canb.auug.org.au