From patchwork Mon Dec 5 11:21:04 2022 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: 29648 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2194898wrr; Mon, 5 Dec 2022 03:37:31 -0800 (PST) X-Google-Smtp-Source: AA0mqf6MMzYvN2wy6/3iA182FsGTFIbEmUwdcfyv4XbOvZeJlE686LKnvdXwqIh4+Sh4TLupn82H X-Received: by 2002:a63:4708:0:b0:461:4039:88d1 with SMTP id u8-20020a634708000000b00461403988d1mr54556202pga.568.1670240251131; Mon, 05 Dec 2022 03:37:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670240251; cv=none; d=google.com; s=arc-20160816; b=K5kRmSxhF5XCkxGGP3PoxOLAuGw5uMqmB8Rt8N6hy+11HYOVtvtJDbPcEnQtuPdJGm zHcliJgLxj3ubap2j0b8xdWJvvOoRnxdqXAhJvFq3dgrsv5GwxlEJfTvYHlssqxjAMZA ht+39WlvlRFv+kg0vJmN+kp873GBvqaP4EgVSYPtALRfTn4vRZ0OoASxryXw3hHs0d8S nouGf8L5FGiejyo0Lc+x8BMwZ+ex14bIvDb26wxzu45H6RIqrtevBd9AM9n5AR5hMatn jt+fdc26usiZzUEu3WXmKXGnKRhWbjZ0oytTPsqXazIBy5qlAlXD8FrCYKDMvk7weRem 2EEA== 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=EucvsWG3iZGhLlMAVtu7fPQuqYisFZKYh9GYfk5mMp0=; b=qPygLNScCD3EWRp8PQcuumJmr191fKOUDWWi0lGsXRK4FCYG1bk5hRCUTZbKiWD7ZJ /ZesjC02l3sKQbv5uDzXnvpMmnhuJ/60O2343dqTGB0Tj4VOSDAHhoZKeVT8GMYyYNRq +7QMZhI/3C+uhyEmL9hp1LPPENP7ruLmSHrcXQBIZiCpJqS13hW1f0a1VoD7hjdR+GEb nD2X+DcBXltHl02lzqrbySHU37FZzZbsXClP4QMx/dT58PZJy+0yNKFyp6cTqoAOueGn pr4oPwDzkksTFnY73886Nvn8QmBGVhcPzv+ZFFeISG02K8sQtjDtf8FNlaGcE3fGClBd yUxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=I9ApIXV7; 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 q33-20020a631f61000000b00476ef0d44f6si14498288pgm.672.2022.12.05.03.37.17; Mon, 05 Dec 2022 03:37:31 -0800 (PST) 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=I9ApIXV7; 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 S231138AbiLELVM (ORCPT + 99 others); Mon, 5 Dec 2022 06:21:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230169AbiLELVK (ORCPT ); Mon, 5 Dec 2022 06:21:10 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A32118365 for ; Mon, 5 Dec 2022 03:21:06 -0800 (PST) Date: Mon, 05 Dec 2022 11:21:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1670239265; 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=EucvsWG3iZGhLlMAVtu7fPQuqYisFZKYh9GYfk5mMp0=; b=I9ApIXV7ESuAGa0BdBRvi1XpR6d1BjwFYb5n30IDMSFh9voyQppZSCkGwAIlfzg42atI6s hDdY/U4u8xhCOGpt+xpboE9OZUH+HvnzO5tBp3QYVhRpj1tFkcRR0zco2bDbfGj3bM62NZ pU6srsjh0lqrxht2YXckFYeTpHM7MQxlq0k+jMdwPRUSLTnZcAvZAXnxBOFAW6ZqC1C8Qf tWqW3wu4STD9lQxoNuvzz2jDVfSWUvTwUXD+LIX4w3DpxpUzYrKUuQqKiL9NIrzaqN7ilC IrfjhgplB99uo1UrET4A4CkLR8G2emUgfpv/aWuYLz3mbm3KHOtdiX9nE2wOvQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1670239265; 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=EucvsWG3iZGhLlMAVtu7fPQuqYisFZKYh9GYfk5mMp0=; b=jWt/K7PTq6QiBau9ksAZwSUBbUGW/cLNF3ZdhVGNem8YyS7L3YB048yZ0PzGz6EqL8BQ96 4BgDiRLPuvu9YeCg== From: "irqchip-bot for Huacai Chen" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-kernel@vger.kernel.org Subject: [irqchip: irq/irqchip-next] irqchip/loongarch-cpu: Fix a missing prototype warning Cc: kernel test robot , Peibao Liu , Huacai Chen , Marc Zyngier , tglx@linutronix.de In-Reply-To: <20221205044708.2054022-1-chenhuacai@loongson.cn> References: <20221205044708.2054022-1-chenhuacai@loongson.cn> MIME-Version: 1.0 Message-ID: <167023926441.4906.3148172344753409393.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 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?1751373841511290460?= X-GMAIL-MSGID: =?utf-8?q?1751373841511290460?= The following commit has been merged into the irq/irqchip-next branch of irqchip: Commit-ID: 065abd13a63f40318162eeca6c0215fc5cbb9b0a Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/065abd13a63f40318162eeca6c0215fc5cbb9b0a Author: Huacai Chen AuthorDate: Mon, 05 Dec 2022 12:47:08 +08:00 Committer: Marc Zyngier CommitterDate: Mon, 05 Dec 2022 10:42:35 irqchip/loongarch-cpu: Fix a missing prototype warning 1, Rename loongarch_cpu_irq_of_init() to cpuintc_of_init() in order to keep the same style as the ACPI version. 2, Fix a missing prototype warning by adding a "static" modifier. Fixes: 855d4ca4bdb366aab3d4 ("irqchip: loongarch-cpu: add DT support") Reported-by: kernel test robot Cc: Peibao Liu Signed-off-by: Huacai Chen Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20221205044708.2054022-1-chenhuacai@loongson.cn --- drivers/irqchip/irq-loongarch-cpu.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/irqchip/irq-loongarch-cpu.c b/drivers/irqchip/irq-loongarch-cpu.c index a28b7c5..738d69c 100644 --- a/drivers/irqchip/irq-loongarch-cpu.c +++ b/drivers/irqchip/irq-loongarch-cpu.c @@ -93,7 +93,7 @@ static const struct irq_domain_ops loongarch_cpu_intc_irq_domain_ops = { }; #ifdef CONFIG_OF -int __init loongarch_cpu_irq_of_init(struct device_node *of_node, +static int __init cpuintc_of_init(struct device_node *of_node, struct device_node *parent) { cpuintc_handle = of_node_to_fwnode(of_node); @@ -107,8 +107,7 @@ int __init loongarch_cpu_irq_of_init(struct device_node *of_node, return 0; } -IRQCHIP_DECLARE(cpu_intc, "loongson,cpu-interrupt-controller", - loongarch_cpu_irq_of_init); +IRQCHIP_DECLARE(cpu_intc, "loongson,cpu-interrupt-controller", cpuintc_of_init); #endif static int __init