Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5746041rwb; Mon, 5 Dec 2022 03:38:07 -0800 (PST) X-Google-Smtp-Source: AA0mqf47aYR+ILCLBFDYCXUILkuCIMCLetx5w5attO+IfSfDTf/mqSwmsimWlOqEy7HId/rjCfpz X-Received: by 2002:a62:1b05:0:b0:576:91fa:8ed0 with SMTP id b5-20020a621b05000000b0057691fa8ed0mr11025375pfb.15.1670240287556; Mon, 05 Dec 2022 03:38:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670240287; cv=none; d=google.com; s=arc-20160816; b=PP7Qc7eEhdyao0MAT4mUIHtD3RxFccfRurh0LVY0vA6oYxcGyl4DCbNSaHwSZfMhvu Xv+B4nUhZOetG5et5ckngykPNhABm75VEa0XfABMngmLkVcrb1M6Ng8+DJHAud3+58JB +doxs2U7EfSJ4BxLuExkBpYnG/5AHyRZDpQ4iaOWDL+DXrqEXLpNEYm7veNVqAW5qH5w 2y4fQnsY7DycF+M3R4VHN26ini0nMRCdqvxZTbjYCjwVd+7NxQiJI7wN5I6rurMrF5bU 08NPADqC788p24PgyPMS+iPSUA0+yLy6JoXcWL+7YnsDVMMs3MSHFHo2cLuP9T7OqVVY AySw== 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 header.s=2020e; 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 Return-Path: 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.56; Mon, 05 Dec 2022 03:38:07 -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 header.s=2020e; 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 + 82 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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 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