From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 257DEC4363A for ; Tue, 27 Oct 2020 08:52:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DC82722258 for ; Tue, 27 Oct 2020 08:52:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603788733; bh=0nzyOPvgFX02ZXg1XJA1HS6XgUF6vw89iu8MTd8YMtk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=eUab5OhADIPxvwu+g8p4hJQjBnHVAFIIRco8Z3G/om18V+WuB7/DEIITboJywgZD8 8dI+xarG0cvai5Mvqv2cbfFpSw9RmShJqgqISOZW1Gpcq6ipfuoZ7YlvoXL/Up3oTZ fZtX6Wh//iA1CkSP9yqiOGf8+QQSxEz04ju3e5vM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2895094AbgJ0IwN (ORCPT ); Tue, 27 Oct 2020 04:52:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:53128 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2895085AbgJ0IwM (ORCPT ); Tue, 27 Oct 2020 04:52:12 -0400 Received: from localhost.localdomain (88-113-213-94.elisa-laajakaista.fi [88.113.213.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2DAA822281; Tue, 27 Oct 2020 08:52:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603788731; bh=0nzyOPvgFX02ZXg1XJA1HS6XgUF6vw89iu8MTd8YMtk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XT81wAgp80B2PWJvEd5TMFsh7BOdbg3t9B2u9HQOTyuZRMN5bu72KjTvaJzC1slVm Tg1feUt3aBkhxQyb88Ec01sa2WP059DoBZY809qnGqy398YAmdSAbs/5U7X7IVhVtX JU8u0RF5+wYhXrxHuRx2THEOxKCIxxIxhbYRSN1g= From: balbi@kernel.org To: Mathieu Poirier , Thomas Gleixner , Jason Cooper , Marc Zyngier , Alexander Shishkin Cc: Suzuki K Poulose , Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Felipe Balbi Subject: [PATCH 2/2] irqchip: bcm2836: fix section mismatch warning Date: Tue, 27 Oct 2020 10:51:57 +0200 Message-Id: <20201027085157.1964906-3-balbi@kernel.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027085157.1964906-1-balbi@kernel.org> References: <20201027085157.1964906-1-balbi@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Felipe Balbi Fix the following warning: WARNING: modpost: vmlinux.o(.text.unlikely+0x17b2c): Section mismatch in reference from the function bcm2836_arm_irqchip_smp_init() to the function .init.text:set_smp_ipi_range() The function bcm2836_arm_irqchip_smp_init() references the function __init set_smp_ipi_range(). This is often because bcm2836_arm_irqchip_smp_init lacks a __init annotation or the annotation of set_smp_ipi_range is wrong. Signed-off-by: Felipe Balbi --- drivers/irqchip/irq-bcm2836.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-bcm2836.c b/drivers/irqchip/irq-bcm2836.c index 97838eb705f9..cbc7c740e4dc 100644 --- a/drivers/irqchip/irq-bcm2836.c +++ b/drivers/irqchip/irq-bcm2836.c @@ -244,7 +244,7 @@ static int bcm2836_cpu_dying(unsigned int cpu) #define BITS_PER_MBOX 32 -static void bcm2836_arm_irqchip_smp_init(void) +static void __init bcm2836_arm_irqchip_smp_init(void) { struct irq_fwspec ipi_fwspec = { .fwnode = intc.domain->fwnode, -- 2.29.1