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=-15.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 2D916C4363A for ; Tue, 27 Oct 2020 09:05:46 +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 A74BF206DC for ; Tue, 27 Oct 2020 09:05:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="cYIJxOwR"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="h2mq+Cuc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A74BF206DC 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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-ID:References:In-Reply-To:Subject:To:From: Date:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5GZAHS40MDhKVpr4IRRaL6x5ej3Qy148rSi40YIV/rk=; b=cYIJxOwR/rS6KbAPUlgU4DUGu yTv1EGgTn1ldRWUSiReBI9ueBdadJ5R2kKRcJ3tq7TSi9eRtht2/qi7wEqOv0gxtP+EcM7jyW21XV FQsB+V/1ZSykGSPypSQ7RhZ1ydqiDi5XLyucUXWIP7yToL+TARlrsBqEMl7xF3CbCgGM66i6AH56m dv28UamtC06YkVCPG7trdEmgHhsbOZn6nn7nuYvlXJ29+S8URAuWoFaHSBr7ck2QpV47AFhWBOrN3 onXwr3heOLLO3K5BeNmWOevsBTmUmu4vlpMWStOoJdWDi5RsyKkeyUz8Zbox/w3hYCsE7J4uqgdj3 m1dbPm5kg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kXKtZ-00074f-JH; Tue, 27 Oct 2020 09:03:57 +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 1kXKtX-00074I-1e for linux-arm-kernel@lists.infradead.org; Tue, 27 Oct 2020 09:03:55 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2243A206DC; Tue, 27 Oct 2020 09:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603789434; bh=9i3xc1N4T9XdkH48tZRMTBAeFg4Bk4OEANGgtVvnDdI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=h2mq+Cuc2s83ZF+bFsQzu9jFiVGTXPUgBa6LgqKTBFFODBpbYVumjct1cxTwWrrJ7 xQY66ASydgWd2v2Vmg8mI9c7O4MfawBsD8KJeVBt6rQrt5VRkgDl1RNogKsy81W+Kw XJr0XmhYaK83GVtpqcK8ycox8kpn+z/I5cMoeYv4= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1kXKtT-004cie-TM; Tue, 27 Oct 2020 09:03:52 +0000 MIME-Version: 1.0 Date: Tue, 27 Oct 2020 09:03:51 +0000 From: Marc Zyngier To: balbi@kernel.org Subject: Re: [PATCH 2/2] irqchip: bcm2836: fix section mismatch warning In-Reply-To: <20201027085157.1964906-3-balbi@kernel.org> References: <20201027085157.1964906-1-balbi@kernel.org> <20201027085157.1964906-3-balbi@kernel.org> User-Agent: Roundcube Webmail/1.4.9 Message-ID: <49f17502445e5ae5b35df15577957ae6@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: balbi@kernel.org, mathieu.poirier@linaro.org, tglx@linutronix.de, jason@lakedaemon.net, alexander.shishkin@linux.intel.com, suzuki.poulose@arm.com, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201027_050355_195741_765D5069 X-CRM114-Status: GOOD ( 23.72 ) 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: Florian Fainelli , Jason Cooper , Mathieu Poirier , Suzuki K Poulose , Alexander Shishkin , Ray Jui , coresight@lists.linaro.org, Scott Branden , linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Thomas Gleixner , linux-arm-kernel@lists.infradead.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2020-10-27 08:51, balbi@kernel.org wrote: > 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, I already have a fix for this one[1], which should be in -next. Thanks, M. [1] https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?h=irq/irqchip-next&id=57733e009f0c7e0526e10a18be12f56996c5460e -- Jazz is not dead. It just smells funny... _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel