From patchwork Fri Apr 12 21:53:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13628357 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 69A51C4345F for ; Fri, 12 Apr 2024 21:55:15 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=X93l7VJaPw0RTVs+/I458s+Mu1TqF67LR5xnEkOHVhw=; b=dRqZF+N/55IwWv XHU/A9NPnfTxBOY49pdDlY6EdgQwQ/YwuFUX8xDKRbog8WwrOpJtd2M3b5YpCA7nmmAE5Trw8qJTf DmvZVKklIi6RoKjmiHZnnWo01/W+HzYnoaUg/DmxkDgUJbgWmn/iQDsTukkbm9kaE3upR7vKzNZL4 PYtWfg2idVfK+tlAlVqKXts3ITIlTZmBtX2CIusZTsTF5gPq1bpYAyfDnLsV3HsMUloYZZM43NqOv Z/nhCd+WOLXsPQIfDl43u5iIczOt5N5dnhFTuqsoe0QDPMpk7EOJ8NhI9mzXGe9kdQzBMTXrpsk+N GLM5wSpD7xr+2VzEpqpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvOrQ-00000001Sjo-08iQ; Fri, 12 Apr 2024 21:55:04 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvOrM-00000001Sid-3BAk for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 21:55:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1712958883; x=1713563683; i=wahrenst@gmx.net; bh=pG4RBg1hqJd1U/4sIu7eqduCuTwGc+IuYwbf+pXqEPI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-Id: MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=ZEaAoGsdhCew6ocZmvYDvKyLaJhtH8Rg59JCXpsfIQsUT9iH2Lw7uspK+SnJhBsj 6ue5NndGImpJgNrXXte4RboCzwPV+YE8sjIu8gd5Sj3C2q2kEYtCVzgHxG0X8ozmT c87jzmTkyS+cYy0aw/6tnMEHU8qyYCrPb57H2SIjxaAgUPqGD8XNOIYT1yUifm0EA 1Lg8HkxMamw18CZBX4ljrfhMdyfUOupNVaCE7WoL7KR+vlESNkzZhAX32BVn04RDq Zf4yJqlEwcvJRxEgYwd2MNxuzUHhEdGFuGkQNxYLvhFDaoX9x6Mi8bzcyXlv4kRvt 2tYxUAUI3SSF7qs0ZQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MRCKC-1s9mTv0VaW-00N72i; Fri, 12 Apr 2024 23:54:43 +0200 From: Stefan Wahren To: Thomas Gleixner , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: kernel@pengutronix.de, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Stefan Wahren , Linus Walleij Subject: [PATCH] irqchip/mxs: Declare icoll_handle_irq() as static Date: Fri, 12 Apr 2024 23:53:34 +0200 Message-Id: <20240412215334.33946-1-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:nbr/dzf54h1WDB87TDLSsvt9UmMAC4pLjgXDDG/v8fTFsA+87Sy W7UsOhjjH+6IDEc+YfjBLkliaf4lmoMeUtqobI2ZDhvfWf84Y9LIKl6/BBq3haZWHuYsVYt DUWYJFTo1nB05js+O5niUgYAJ+RjkOnCyoEUp8Rs3OmZpgVTTJ9AXy1/kEeoIYz2Rw4O8pw oFNDCcZ0eTlm3BKdJiLtA== UI-OutboundReport: notjunk:1;M01:P0:Ok7pfGcdB1I=;VN3Em8eZQZ9Vj8d3zHCWm3TQHMY zf95W32dFP2jIJ/0JYGDeJt7Z+cGYPYNu0oELaNjF2o5MHWJY4Tsj7Wyw1DZ11PqKJCddhAYw c2w/Y9jK+iG6HcXKNvq3Ty3fWyklwDfslXe8KVnN1vHsdHqwtUQQi//TT3YxPIqopPE+flxYW ndxEdP7ZxGK0UwrJxJxe4KdjFB/4k+1vpYmBBfYN0nlQi5+eZT3EINZhEvd6cipMrOGr2NBUT DxsGjScMrAIOjcyMQwIidDAlC9rbVHNCpIt+u/7kQw9OwcZfglRpoXwJ34Ll/Q+BogwsThQfG On0hVwkMAPmzjTO+eAF/HHe49AXvfbVeuiPUvrPb2ySlNPws6SLDcDKGO9mWw60phS8ydTNpU pJtjvokLrfcvfefaREF1aqOqYXj5VWdarQchwATaZ2HYmq7PyQWshtwuU9XOLqTn2LVOtRQIe zr/q1E7SD1aqNxCiht0wxE1w0lyN0UmL2xzi6qGJjRHn3+n2j/1GoTEyR7zJTpEM6v3xy1/sk lvZR6p5fP6HqZKEXfLl59Din4GQQUAIcySf/MHftVOUbkzexDvRYe/CcbPN5wHPXVn8fS5kyT 6hWCJML0tDZlPBpXfwYmIdF9QIDx4/zRsvoj7pLVaV/dC2hqh+Ols7gTGdIsTQyAwffwy9WxM DjCVp0PK6lzUqvZmgCFCxgY4qQCWc5iTOohM9zCUvyHOePXmyDkzGbZlIShP+EaNhbWCnRKlP SVJLG2T+Cr+2t01gm9mCwJZMaOCpmY9IDIbtXLYaLwfVXsFQ/7JYl9v1lKJr2+iMjDfn3NWr1 3x+cbAVH1WGdYWwO630ogcYKwo02vQLhTE3dteyqPKGaU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240412_145501_280661_0A0D3B69 X-CRM114-Status: GOOD ( 10.09 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org After commit 5bb578a0c1b8 ("ARM: 9298/1: Drop custom mdesc->handle_irq()") the function icoll_handle_irq() is only defined within irq-mxs.c . So declare it as static to fix the warning about a missing prototype when building with W=1. Cc: Linus Walleij Signed-off-by: Stefan Wahren --- drivers/irqchip/irq-mxs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1 diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c index be9680645545..19fc0bac76bf 100644 --- a/drivers/irqchip/irq-mxs.c +++ b/drivers/irqchip/irq-mxs.c @@ -130,7 +130,7 @@ static struct irq_chip asm9260_icoll_chip = { IRQCHIP_SKIP_SET_WAKE, }; -asmlinkage void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs) +static asmlinkage void __exception_irq_entry icoll_handle_irq(struct pt_regs *regs) { u32 irqnr;