Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D00ACC433EF for ; Tue, 7 Dec 2021 04:34:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=V1OI8Wznp/aAxkxLd8Mnebl6tbG6wHqg4kIffHEjHkg=; b=elpiJ6Oj83NT5Wsx1UacxDa2eu 2S63tubQUHjlXLQPVfPRVprdKDYFJswXC+Y3mxoD+YFQfINsnfmC6004WxjfLrf7X+k81YRSULtCI pbaHMq+FVm8FlWt40QxmpVoyPvzGYa3GicyZkM3/ckpr/pcG+t2WHPT96wjSXz61PE5ClwXQ6GajE Fa7m2dXH+E8FmaJr/4je/zpxze8P4G/RTDWwWA49gEvxLYiLYdsdyaD6mzfUeBdMPItUxzyTywFky 621gbsuO2iQ+cPi4q21hONZCrtWpQGUoR5hx3cvit+J8DaYDTtCJN+qZPhqZyVKkVKMV4lZoRoAyM daWJTMhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muS9m-006vlH-Gh; Tue, 07 Dec 2021 04:32:46 +0000 Received: from marcansoft.com ([2a01:298:fe:f::2] helo=mail.marcansoft.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muS9i-006vkq-9N for linux-arm-kernel@lists.infradead.org; Tue, 07 Dec 2021 04:32:44 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: marcan@marcan.st) by mail.marcansoft.com (Postfix) with ESMTPSA id DF55D42181; Tue, 7 Dec 2021 04:32:32 +0000 (UTC) Subject: Re: [PATCH v2] irqchip/apple-aic: Mark aic_init_smp() as __init To: Donghyeok Kim , Marc Zyngier Cc: linux-arm-kernel@lists.infradead.org References: <2c583fc9-e16c-6223-0a4a-f4f7e4954776@marcan.st> <20211204164228.5920-1-dthex5d@gmail.com> From: Hector Martin Message-ID: <9aa32209-65e6-791d-ad7f-41bfca3f9cfd@marcan.st> Date: Tue, 7 Dec 2021 13:32:30 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211204164228.5920-1-dthex5d@gmail.com> Content-Language: es-ES X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211206_203242_538460_E1402A8E X-CRM114-Status: GOOD ( 16.58 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 05/12/2021 01.42, Donghyeok Kim wrote: > This function is only called from the driver init code. > > Signed-off-by: Donghyeok Kim > --- > drivers/irqchip/irq-apple-aic.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/irqchip/irq-apple-aic.c b/drivers/irqchip/irq-apple-aic.c > index 3759dc36cc8f..2543ef65825b 100644 > --- a/drivers/irqchip/irq-apple-aic.c > +++ b/drivers/irqchip/irq-apple-aic.c > @@ -707,7 +707,7 @@ static const struct irq_domain_ops aic_ipi_domain_ops = { > .free = aic_ipi_free, > }; > > -static int aic_init_smp(struct aic_irq_chip *irqc, struct device_node *node) > +static int __init aic_init_smp(struct aic_irq_chip *irqc, struct device_node *node) > { > struct irq_domain *ipi_domain; > int base_ipi; > Acked-by: Hector Martin Thanks! Marc, can you take this through the IRQ tree? -- Hector Martin (marcan@marcan.st) Public Key: https://mrcn.st/pub _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel