Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp184066rdg; Tue, 10 Oct 2023 07:34:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFquf2mZcM1zqbhPqdsvxgzue/Qf3Gs/bFnPZTO/IOMKBYLJc6GGwNAGknFpRa4WKS3hJ8B X-Received: by 2002:a17:903:32cd:b0:1c2:193e:1126 with SMTP id i13-20020a17090332cd00b001c2193e1126mr24652070plr.28.1696948476754; Tue, 10 Oct 2023 07:34:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696948476; cv=none; d=google.com; s=arc-20160816; b=G/el6UqbEWRQb1BWpTw8uLe4KotZnVFwmA31HImL+GphJO7t0V17r3azua5bhwan5O RgnCq1tbEscea93bcqiGaGWyIWD/KthyQvAVUC5oIdcPyr5FfB2pYY2LM0XYl3DQB4y8 xemjIue/R5N6n0UtSZNL5ueJih4wJwI9vLLxR5FbPTeEFcTBKeds3ZX1aTxZbsUJgOFZ OMA0XA0q6Bbo5Gu5hh6GfAiCk8XfmjtHh82AFsDbVh8Aymjfx1kjoBrtLNoTvpFZphDc hjaGteRMIfUaf78eHGkkgLW3gheegMmt6Fdtj4VB8gWajLK0Rd32kzfLn1hGR6+V6Tmc 2Dvg== 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=3BekfC5uXVlZmCsURv6I58XsQrJM3KkAgL+U+M6dbps=; fh=KNDMmXqT3eiGIjGU60zMg4RbBkjgC/FfcoSmt6/cs7E=; b=pX5JE13Pvftiy1coU2Zv2HcSmNB55vFpo+beDg/PM4xMagLBdtwaY18ve72ItXepeK +c6blOmA70RZY7uZe0r80i7JE8qLQG/Uyq8ykeKFJA2e1T4gJOB14zx8jya9vLdV4gEv gZA4EcNbqXam5pZB72B05aKIZomMzOcIvqtqeqZfU1eV3k7A8BgMFZpKtDVO0VDcdEL5 GeBJDmjQkqofzysHSWHM0WfKdZYKhtKW9O0awI9013wwmNx+sSzNSOTlTdHH2YkeIeX9 h5pgXrXt1VI2K4oVDrRagvy/p+H+14VDAFqDmAVHQLATW7aeInmZzq1KGQIHx9qhXfei cRLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JozFSRXi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id j16-20020a170902da9000b001c9b0be1391si2049998plx.614.2023.10.10.07.34.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 07:34:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JozFSRXi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C356A8027A40; Tue, 10 Oct 2023 07:34:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233129AbjJJOeT (ORCPT + 99 others); Tue, 10 Oct 2023 10:34:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232147AbjJJOeT (ORCPT ); Tue, 10 Oct 2023 10:34:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45F3991; Tue, 10 Oct 2023 07:34:16 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 80E72C433C8; Tue, 10 Oct 2023 14:34:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696948455; bh=fmFwrPcAyEKLEAejOhS2wgGgutJrLdVOGra4FoLn4qQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JozFSRXi59nVa4+B03M7Nv3dvqf6zgLDdCWJjDCHgYl8VeNZpi2MoAy7UuH3RN+SX mxyDqi7otEx0M2ZeNlj5/cuFsX84sC8UlAYuD8zrkup/uJoZ/WatlaSlUNYGjXqp/Q sNfqQWdOcYPeQKs6B2lAwCdkLvhTuj5ELCsVmWvtVrklXDaRWYXK0ZLpjtsD0XQrV8 TsXDx8D2tWJpYKwY2bkKOcGDTxTmyQeIC43jGy+/iqCc638Thvynf87//DwGtg2swC c8RXdxpUAL8+S6uFWftClcrtZceysAmYgdLLUOY1ImwbvkW7jpxPycaIMLGgZtiR3w dcnr6PfH9sy4g== From: Bjorn Helgaas To: Thomas Bogendoerfer Cc: =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , kernel test robot Subject: [PATCH 1/2] MIPS: lantic: Fix pcibios_plat_dev_init() "no previous prototype" warning Date: Tue, 10 Oct 2023 09:34:05 -0500 Message-Id: <20231010143406.974591-2-helgaas@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231010143406.974591-1-helgaas@kernel.org> References: <20231010143406.974591-1-helgaas@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 10 Oct 2023 07:34:34 -0700 (PDT) X-Spam-Level: ** From: Bjorn Helgaas After bbd8810d3998 ("PCI: Remove unused includes and superfluous struct declaration"), no longer includes , which provides the extern declarations for pcibios_plat_dev_init() and pcibios_map_irq() via . This results in these new warnings: arch/mips/pci/fixup-lantiq.c:13:5: warning: no previous prototype for 'pcibios_plat_dev_init' [-Wmissing-prototypes] arch/mips/pci/fixup-lantiq.c:24:5: warning: no previous prototype for 'pcibios_map_irq' [-Wmissing-prototypes] Include directly to get these declarations. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202310070445.tzRBNYRC-lkp@intel.com/ Signed-off-by: Bjorn Helgaas --- arch/mips/pci/fixup-lantiq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/mips/pci/fixup-lantiq.c b/arch/mips/pci/fixup-lantiq.c index 105569c1b712..8f5fb98b3984 100644 --- a/arch/mips/pci/fixup-lantiq.c +++ b/arch/mips/pci/fixup-lantiq.c @@ -6,6 +6,7 @@ #include #include +#include int (*ltq_pci_plat_arch_init)(struct pci_dev *dev) = NULL; int (*ltq_pci_plat_dev_init)(struct pci_dev *dev) = NULL; -- 2.34.1