From patchwork Tue Oct 27 08:51:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 11859695 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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 E55CBC4363A for ; Tue, 27 Oct 2020 08:53:39 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6F3DC207DE for ; Tue, 27 Oct 2020 08:53:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="y9JJQxlM"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="XT81wAgp" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6F3DC207DE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=dje68cCugSYL4QToMuGFdJX9hf2Wgz3xFfhCkaEGa0c=; b=y9JJQxlMBINpYN9ve1Xb6WtO0 0AUM8o/T9sCI/d8SaauVxLWBrBtWgNmFApg2Y0LjZNZGxbieaa9k+TP3UiqzKRtvC43szif5cD2/F rYQrJsgtUM4LskiLfqlYftWNGXxJIiSec47uX9tftoQa0lOIVQdHz0e4Uxoc0lFZhHYKQk7R2PVgD Tuu7CvJiCCA12JUt5Y+q0hZqSKfTpWmQ+0Uqc8KBYjS31LUdEW/GAIvXd7EMrpd2xGuxNINNNSG2P mZOCoBcBY8R1lWJE+scVdSoLLltLiMVT5HMJOhj33oCHufvPJMmYRYeScRCglWwpHcWT2eAGb9hhl 0zZr+a/6w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXKiM-00051R-RS; Tue, 27 Oct 2020 08:52:22 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXKiC-0004xg-Dv for linux-arm-kernel@lists.infradead.org; Tue, 27 Oct 2020 08:52:13 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201027_045212_647664_8F1539CF X-CRM114-Status: GOOD ( 18.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Felipe Balbi , Florian Fainelli , Scott Branden , Suzuki K Poulose , Ray Jui , coresight@lists.linaro.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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,