From patchwork Mon Oct 31 15:39:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13289 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2384460wru; Mon, 31 Oct 2022 08:43:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4lsqurDxY2rEVbmuxdF/o/CeWrQJND363ywY6RAm7+jU6WZcbPaae49D+z0hP2gya5BSc1 X-Received: by 2002:aa7:cb59:0:b0:461:7378:7be0 with SMTP id w25-20020aa7cb59000000b0046173787be0mr14416115edt.60.1667231011570; Mon, 31 Oct 2022 08:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667231011; cv=none; d=google.com; s=arc-20160816; b=n52iHJ52PB00SgR2FzU4srB6Bj+Q2pXwiYh8CaeK6Y1AKjeXpy2f7Da+4gu4c9TI00 bIhTQozAqt4sJpp21YvpJ2pYnJZBDMu/GHZS5SIbMNynwBHAqaDvrTxpP9eJavziNhXf dNYtlQrfdXs0XzfAU/Cff4YbTsOlHA/DNH5CEpAKAqSnUmd1+MQ0QxssKFdeup5Ebjj4 pAJ0TctndavaD1WSvDu8p9uk7v9uPnfUy8PQJNpTSrFYK6iYRrLXfZNfp600eUCQEkVC 3faMT1fTPjx6iJ+FurSuoo5FBE8Cv5TjUDMjkr4hdHwAMZZurkDZROtHMs+otw+QuL9t 5xPg== 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=2b0aNWGOh9qfYPhvNsu3CZ911t++Vdf77uwGnQyxg5I=; b=V1BRKVsDZKrG6iBXr3MSyC+/GwBBBaZDuZ0epUUms980k8bOsLj2unwTSXeUmi3Ivp 3bkXbFz3f3IW6hQ6xq5Sq3mhhVLd8+htun3ZduPdoSqSHrS4mIDrUMwxNNMeiD8j49Qy /iOKX6ITepBBWLu5+eVF1K+z2zCqnwdg21i6Nouow73lopByxkO2g5KMXzGgIvVTcrKH 6C0LTsQPeAxq+5fvnYpSTCzW2ri20ovVglEenmJxb4gCGegt3soi8kvTp/ASf68fMxAT BhOfRkwqA+B6UP3yxwMWxjTG5slM+j0k3FNuxPGqvJkWHaSRfNpC2zPhperRA1+V086O 9ivg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RtGAXtHN; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg36-20020a170907972400b007add8ec38aesi2238061ejc.424.2022.10.31.08.43.07; Mon, 31 Oct 2022 08:43:31 -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=RtGAXtHN; 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 S231924AbiJaPkR (ORCPT + 99 others); Mon, 31 Oct 2022 11:40:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231656AbiJaPkF (ORCPT ); Mon, 31 Oct 2022 11:40:05 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAD88659E; Mon, 31 Oct 2022 08:40:04 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6C7DBB818EE; Mon, 31 Oct 2022 15:40:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF0BEC433C1; Mon, 31 Oct 2022 15:40:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667230802; bh=w401ZqDLSQ8ZKux9B2AAv7FrlhU6ZkoTx88TnOOAwyI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RtGAXtHNEmUI43QINAf/8bggmgt+lk2tn1SsHUkQCBFC+kZhhYjO1Mi/RbC4KG8AV +5qQjvfsJ9S/l6cQV9IkifW+lL8Z7boAMRmHArljQE62/kYaoF5LZIskX6342JcPCk pQuvJf7CG5T/e03DNuLgyngik9ijeO4JsY+IiuCGRDMH3Z+uhRuT0YvshZ8UTjD5YG nqOVl5st593g5shoVfxRsH72Y67K2r2bq46MxAWg5qG168GWCkvOAoVokF6uILY0bG MWj7+TvKxH6JZPhO60qE7ZdeLMm6vbjM+sg8CU7Qs5eEhqdp1Kq99G98/6ega3Kp8E 8igJhZfDXDzGQ== From: Bjorn Helgaas To: Lorenzo Pieralisi Cc: Kishon Vijay Abraham I , Tom Joseph , Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Minghuan Lian , Mingkai Hu , Roy Zang , Thomas Petazzoni , Thierry Reding , Jonathan Hunter , Linus Walleij , Toan Le , Joyce Ooi , Ray Jui , Scott Branden , Conor Dooley , Daire McNamara , Shawn Lin , Heiko Stuebner , Bharat Kumar Gogada , Michal Simek , bcm-kernel-feedback-list@broadcom.com, linux-omap@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-tegra@vger.kernel.org, linux-riscv@lists.infradead.org, linux-rockchip@lists.infradead.org, Bjorn Helgaas Subject: [PATCH v3 1/5] PCI: altera-msi: Include explicitly Date: Mon, 31 Oct 2022 10:39:50 -0500 Message-Id: <20221031153954.1163623-2-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221031153954.1163623-1-helgaas@kernel.org> References: <20221031153954.1163623-1-helgaas@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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?1748218425425206182?= X-GMAIL-MSGID: =?utf-8?q?1748218425425206182?= From: Bjorn Helgaas pcie-altera-msi.c uses irq_domain_add_linear() and related interfaces, so it needs but doesn't include it directly; it relies on the fact that includes it. But pcie-altera-msi.c *doesn't* need itself. Include directly to remove this implicit dependency so a future patch can drop . Signed-off-by: Bjorn Helgaas --- drivers/pci/controller/pcie-altera-msi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/pcie-altera-msi.c b/drivers/pci/controller/pcie-altera-msi.c index 7b1d3ebc34ec..4366e042e98b 100644 --- a/drivers/pci/controller/pcie-altera-msi.c +++ b/drivers/pci/controller/pcie-altera-msi.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include