From patchwork Tue Oct 10 14:34:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13415669 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B3ECACD8C91 for ; Tue, 10 Oct 2023 14:34:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233134AbjJJOeT (ORCPT ); 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_Wilczy=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 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org 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 Reviewed-by: Philippe Mathieu-Daudé --- 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; From patchwork Tue Oct 10 14:34:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13415670 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1188CD8C8F for ; Tue, 10 Oct 2023 14:34:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232147AbjJJOeW (ORCPT ); Tue, 10 Oct 2023 10:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233146AbjJJOeV (ORCPT ); Tue, 10 Oct 2023 10:34:21 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6D7FA4; Tue, 10 Oct 2023 07:34:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 17C87C433C9; Tue, 10 Oct 2023 14:34:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696948458; bh=XXxLYNlJGJE1fcAJSa2x2HJ6+ENG33tyodHKbEy0sq0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GgYAEA7Av8rnOyEw96ImHS7wD51asHs8Ge49zGDxasZyeKcOvUC0x2pWogvhRvswb DEg0Fp969ZFRmyuIqKjzMo0ZWTjdnXCtSzxQq09hbwlAnMryjLpG3cSpO7ODz+8d7n IIHnvICBYaU7xLElyJUfnjUmidIkTMAK/FiTsvCGGZnyX28zZ2LuH55D+sAlGaPl7G h3ornoya1Azqbrl36U83sMK+g1NZ/Wy+z74JDUL1CWDERiOO2SGcp4eaJ7lYQSQzsh 737LL40PAFbKRZih1ynTvLpZoaOi/kLSzb2MsuRwQyQoXs2FQQ72oaOy9crLwN8aV1 RZEKHFrvoBO0w== From: Bjorn Helgaas To: Thomas Bogendoerfer Cc: =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH 2/2] MIPS: lantic: Remove unnecessary include of Date: Tue, 10 Oct 2023 09:34:06 -0500 Message-Id: <20231010143406.974591-3-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 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org From: Bjorn Helgaas arch/mips/pci/fixup-lantiq.c requires nothing from , so remove the include of it. Signed-off-by: Bjorn Helgaas Reviewed-by: Philippe Mathieu-Daudé --- arch/mips/pci/fixup-lantiq.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/pci/fixup-lantiq.c b/arch/mips/pci/fixup-lantiq.c index 8f5fb98b3984..13009666204f 100644 --- a/arch/mips/pci/fixup-lantiq.c +++ b/arch/mips/pci/fixup-lantiq.c @@ -4,7 +4,6 @@ * Copyright (C) 2012 John Crispin */ -#include #include #include