From patchwork Sat Jun 17 06:39:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 109422 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp1818986vqr; Fri, 16 Jun 2023 23:52:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ZohHfpySBjmtVDyGjyTnKj4mUIoeKgloq0fVCsrtwzpH9YMBq2kEPOAxCkMrDIo0L2Gfc X-Received: by 2002:a05:6358:ede:b0:129:c394:ef62 with SMTP id 30-20020a0563580ede00b00129c394ef62mr1810150rwh.16.1686984767547; Fri, 16 Jun 2023 23:52:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686984767; cv=none; d=google.com; s=arc-20160816; b=nr6/Kk2QUsnvLTT+k+o9Ae2fZKNFPj3hHGstbfnGlJ+4bAsCkwZLsW9E3AKvOkUNGn 61uu+VUMkH0DiDWgT/BjGJnFOclxaQKk8QCl+J5060qgNLQuyhixKiVsZWdDDCMzA5re LJNjc1DhhiytWqngoDpRZ2AGnWYkJH6mvoYiFd9Ay5lJ4srTEOcJv2SSkDGwNFKXpFNk dzh1lx8bh6WR+b9+kj7JLrx5AeU43gxAzEQ798W9i4jfmP7x4mJjfyhs5K4GfPqhyK2C Tf12n6kRbmh3m+1L/4dwWJweZ8D9flOxEcCoASEElyh7hbgup5YgdCGPTMJ4p1Ql13gh ZRyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=4vBPwh54TSBsg+uX0bguDNzKVuNDC5f36S3xL87LiSA=; b=R+rZF1JtO4D+F6ua38VbwCYSdG1c7kwEz/Qj/euGFVSZ1YGhSG968WtJILW67Oq6qY J6cPoU/SHKSzGAW8KbkwzDKyNOgaTvR0tsE9JMGwdyvHl5Dk4JOxECSUdQ9dO10qgESI F9NrTFn8sMQQF59mqK63jampmIh9JHc25/Nfg/gL8z4VWjd/4O9cUhiMUp/FnnhnCRq2 PCIM5Q8s7uPW2lBrL/YNS6U2y+vMFPEGhPYgAmEQ0q34ZZbAmrbRHEq5o7S8K6e8KVeH ww7RdO+yBj1hLaQEg9T0KFt+Y5qZOEbAbAj1rot+w0JRkMuXuGVxFY2MKCN6l3lJ4FKA p0FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sjg0gBYF; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a170902e5c500b001b50186212dsi7120280plf.541.2023.06.16.23.52.35; Fri, 16 Jun 2023 23:52:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=sjg0gBYF; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346020AbjFQGk3 (ORCPT + 99 others); Sat, 17 Jun 2023 02:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244026AbjFQGkD (ORCPT ); Sat, 17 Jun 2023 02:40:03 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39E4830E1 for ; Fri, 16 Jun 2023 23:39:59 -0700 (PDT) Date: Sat, 17 Jun 2023 06:39:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1686983992; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4vBPwh54TSBsg+uX0bguDNzKVuNDC5f36S3xL87LiSA=; b=sjg0gBYFlIO3aw0Evv7wVp99X6jPwx5xnuGCbVMFneJ0qnLqOjropl1OwwybXtPw4miQ9c DmbWnBYlIwq8v9lP3IGKwWaaZCxGfCVwXpk71dnHydOVHPkvM7CbrslWN2ExQa4JzxkRnZ aLti26uAUMIo3F4Vsb9ytZYIti+QfqLoYpz+eCMQpbKKW7qsLjPnffegj4+A0cWWK8bnrX RrZH+ZOw84C3cGDn5f5S6J/Fh/rdYlVTxkeISFAXunhA3tgtdlW8AeOTaNTagbPIYaURaY UiJZUEv0/2HRr4nqk+Z46IwN3/2HILH0Fl4eakR2eUgSXGsiaSZtr7NqyGRlDg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1686983992; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4vBPwh54TSBsg+uX0bguDNzKVuNDC5f36S3xL87LiSA=; b=AgzGroEJbTN443xFw0+hkwvWmjJdSsXRs2Rln1gzL28Sh0u3UGbVQzuU6ZzYthUJvMg41E geKTwHHd9VEmCZDQ== From: "irqchip-bot for Arnd Bergmann" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/ftintc010: Mark all function static Cc: Arnd Bergmann , Linus Walleij , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20230516200516.554663-1-arnd@kernel.org> References: <20230516200516.554663-1-arnd@kernel.org> MIME-Version: 1.0 Message-ID: <168698399235.404.11589915674993340526.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768931740060897587?= X-GMAIL-MSGID: =?utf-8?q?1768931740060897587?= The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 97bb0f8e847c0ea6bf926c4e3b7633dd6acfabf2 Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/97bb0f8e847c0ea6bf926c4e3b7633dd6acfabf2 Author: Arnd Bergmann AuthorDate: Tue, 16 May 2023 22:05:04 +02:00 Committer: Marc Zyngier CommitterDate: Sat, 17 Jun 2023 07:20:52 +01:00 irqchip/ftintc010: Mark all function static Two functions were always global but never had any callers outside of this file: drivers/irqchip/irq-ftintc010.c:128:39: error: no previous prototype for 'ft010_irqchip_handle_irq' drivers/irqchip/irq-ftintc010.c:165:12: error: no previous prototype for 'ft010_of_init_irq' Fixes: b4d3053c8ce9 ("irqchip: Add a driver for Cortina Gemini") Signed-off-by: Arnd Bergmann Reviewed-by: Linus Walleij Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20230516200516.554663-1-arnd@kernel.org --- drivers/irqchip/irq-ftintc010.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-ftintc010.c b/drivers/irqchip/irq-ftintc010.c index 46a3aa6..359efc1 100644 --- a/drivers/irqchip/irq-ftintc010.c +++ b/drivers/irqchip/irq-ftintc010.c @@ -125,7 +125,7 @@ static struct irq_chip ft010_irq_chip = { /* Local static for the IRQ entry call */ static struct ft010_irq_data firq; -asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs) +static asmlinkage void __exception_irq_entry ft010_irqchip_handle_irq(struct pt_regs *regs) { struct ft010_irq_data *f = &firq; int irq; @@ -162,7 +162,7 @@ static const struct irq_domain_ops ft010_irqdomain_ops = { .xlate = irq_domain_xlate_onetwocell, }; -int __init ft010_of_init_irq(struct device_node *node, +static int __init ft010_of_init_irq(struct device_node *node, struct device_node *parent) { struct ft010_irq_data *f = &firq;