Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1094387rwl; Thu, 10 Aug 2023 06:27:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF3KAJyLyvx7KPtb7ZeikR7wbuzdvy18FVaDt0Ndiz5qWfRKdsa0zMK/feC0w74UKK1cgaX X-Received: by 2002:a17:903:1111:b0:1b8:9461:6729 with SMTP id n17-20020a170903111100b001b894616729mr2772878plh.2.1691674054618; Thu, 10 Aug 2023 06:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691674054; cv=none; d=google.com; s=arc-20160816; b=Bqz0jQYaNN0RdK8VS7PJGqs31XyIBnCe/kRhQ9WySzByymKWIDZRrhdAJlLMzjYzLD j1sAv3jbdxZ7WAo5yPyJ/KmcJD75v3z385cE3BkLrZvuFkRPXX24DI+fp8ijYY53RMBJ 2uspjm0CX7gTUO7rolL4v/nxTHAPMprHAfqF+KguOnsUk2K+5dcSzJMkR1QQALVNr95F FmYBqu6VZkaiMcfPmQV8EOYXnp9DUMUPQwfpD4A4DuXeHd0AcjpBLulwEy7eLcJp+nIe ZrZbhVHewnHCv17Q327ObV4gDuGU+EPk9Mr17Rs2Hv2rC2lUpvpfthdeOOFIv/THZCxq C8uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kK1PPQqXyknQcW/jbXdbP++l8I0kcyo6jC96vxjiS5I=; fh=xUXa6jEen/QjWLjjpuCbTCDIWZ0vqL2flZWXhGP0j/s=; b=yjbAJS8oGDThKtLOlxogcnSDNAmNhhChb5C8SmQDZoqJfQbkk94TXNyIdrNYxB70MM w1iPcGSB5v8y+4dWUjKeZFRHCa67MqnKPB2wuFH9UkubacifFqjw0dm7txCEFLVOB6lX sUyX1CFOfjt12vavXWzRKVDq15eY7jbib+clSIafn4/T7FVHt+5KBInPNnm60attz+sP zBzGe7C8H88gsNHRrXMKZZBLGMHDRMPsYfldPlg7BjhA83HKiirsprT2oomeOtd3MsiR EbgZjCkPkfMyfZc8aUnoYC5rNK3KPZzAtlUfKhtVnOC3OdpL49QtOuDueJ+e93Xyu3Pa 1wuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jF7TZH60; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a170902f70b00b001b8ba81d04dsi1525764plo.395.2023.08.10.06.27.22; Thu, 10 Aug 2023 06:27:34 -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=@kernel.org header.s=k20201202 header.b=jF7TZH60; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235449AbjHJMeW (ORCPT + 99 others); Thu, 10 Aug 2023 08:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233364AbjHJMeW (ORCPT ); Thu, 10 Aug 2023 08:34:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3B22268C; Thu, 10 Aug 2023 05:34:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3B5C965B8B; Thu, 10 Aug 2023 12:34:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AB96C433C7; Thu, 10 Aug 2023 12:34:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691670859; bh=l3gsIWgCFdtpc7JpDK2jReDOmh4FCchTByIijNMoS1I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jF7TZH60dNBSAWHv1xU3CdTi1BP/U1cTWiJX3A/BBVM4iltvB/Bz5x2YrcmCy+GgE PCFXbAaZuoH5OCWw6JtdM/BbdLntomS0jNV4hyB4xu62J6qeeFooJSvywjPsypPSwx lYuIrIOXGcjbdqNwEQ5iIIfyqmGn/guYFtf1814nQX+JblZ5xNhNrYQ0b8hzqD6vRs aFBEi2XOmONn/C77nw8vNYHL1ebsjsbPnmm6TXDeAqSLk5x94S6FBNiOUxzEBJ4Ww3 U4P59TeGAtbLx6VnYNLR8hUGEsP3AetzpjXMSare1ysX+f6GhmtL2+/w6pDAAOREAq ymBYZ44i5iDjA== From: Arnd Bergmann To: Thomas Gleixner , Marc Zyngier Cc: Arnd Bergmann , Thomas Bogendoerfer , Serge Semin , Jiaxun Yang , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , wangjianli , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] irqchip: mips-gic: mark gic_irq_domain_free() static Date: Thu, 10 Aug 2023 14:33:55 +0200 Message-Id: <20230810123404.1222332-2-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230810123404.1222332-1-arnd@kernel.org> References: <20230810123404.1222332-1-arnd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 From: Arnd Bergmann This function is only used locally and should be static to avoid a warning: drivers/irqchip/irq-mips-gic.c:560:6: error: no previous prototype for 'gic_irq_domain_free' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- drivers/irqchip/irq-mips-gic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-mips-gic.c b/drivers/irqchip/irq-mips-gic.c index 6d5ecc10a8703..76253e864f230 100644 --- a/drivers/irqchip/irq-mips-gic.c +++ b/drivers/irqchip/irq-mips-gic.c @@ -557,7 +557,7 @@ static int gic_irq_domain_alloc(struct irq_domain *d, unsigned int virq, return gic_irq_domain_map(d, virq, hwirq); } -void gic_irq_domain_free(struct irq_domain *d, unsigned int virq, +static void gic_irq_domain_free(struct irq_domain *d, unsigned int virq, unsigned int nr_irqs) { } -- 2.39.2