From patchwork Tue Oct 25 18:51:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 10940 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1166039wru; Tue, 25 Oct 2022 12:00:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM53Siwbo6YSFOZ93F/xTW6MJHf3M0T4mYeBv0c58OTNbRbRP9gFqmuxlpqnQHr96twbQSQq X-Received: by 2002:a63:2c8b:0:b0:41c:5f9e:a1d6 with SMTP id s133-20020a632c8b000000b0041c5f9ea1d6mr33284811pgs.601.1666724421393; Tue, 25 Oct 2022 12:00:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666724421; cv=none; d=google.com; s=arc-20160816; b=SEtD532W62vU8JHxau8hZGvYxyz7nV5KXLjA8HNZ6ZP5aEpu2uAv+2ON+AzHJ0/sLb DnkoAi9ltjh+N7zGsFP7wK8zYUea407QQgMCKW1p+W48CsjJpy2jmGvYdXl/yZnJdnc/ IOHpgMbPCcbjMisSmuq5fAmxmSbuR3EG8HH3HmVZKWOimgSDepcW2mgTDgEE8njqaeh8 BaKvnUhqFz8ulmZSI7NoMNfNe+/GWtP7QV9tcES4EteVbTpeJEjyS99zp7Rpc1Zpy/EO TX4tcybM9RUjNeITtJBrscfgsiuI/lyxoEuNoqj0ZjO2+hOGvozQM5/PTOYKY2C/lmxg LBpA== 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=qajl/4cP5Mo9FIzLaT1autKks5JYanx2C9WRsCpMn7VDvtGZ8qurN8KpoQDjX4BWCU uxFSUEr+mdxx3pXk/cKL/ldNjU3VidMhJuOn7Wec0k9XDT2g5q0zHoiNFRVxE6jmMa9R QOF/jKMneR9X3oNtP5gcGHoPKK3J+7SvT8SQQPsWe6/ZEdsWmiJcry8J+xijJ4/1co6G W2G347ucXcjXiiRWIM5YsQxF/ovCt3lkAFqqt+PBpNOcDaHhK0BxLcsCDlC3c6zxMXgi SHs5wqHUGG28KQHt/9scdH3vGtRtyluIoa22/ZP5er/lk+JSBh+5sTGaRmCPeQwycOEM CYiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="J4QLU/fM"; 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 jb10-20020a170903258a00b0017f685c2e4dsi3588719plb.136.2022.10.25.12.00.07; Tue, 25 Oct 2022 12:00:21 -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="J4QLU/fM"; 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 S233035AbiJYSwD (ORCPT + 99 others); Tue, 25 Oct 2022 14:52:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231772AbiJYSwA (ORCPT ); Tue, 25 Oct 2022 14:52:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6FD55A152; Tue, 25 Oct 2022 11:51:56 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 127A261AC1; Tue, 25 Oct 2022 18:51:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39CD1C433C1; Tue, 25 Oct 2022 18:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666723915; bh=w401ZqDLSQ8ZKux9B2AAv7FrlhU6ZkoTx88TnOOAwyI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=J4QLU/fMBNMsjryLn9Wukcgo2ksbMucxKSGb8TDhyj7H976UpEuI3o9YKREB4iNeo O7Vaq+gUbC7IzWXni8INXiA23itd9JgEvpyQnKkr5FUfpTllP7DkSk/vo5PpYbUGjB B1D3cfHi1zO0qSLbl+9ML5vzw8VPaBkJfq2ETCnasmUCf4h0JjtnlsucyieL20A7tc HWsbHuUT6Z43exTpPelJp+WVotI+DfgAYLz3RAkNLqDA4BpnWzxkSdlE8Ch8COL9ds RM4cQuVtwBEmLeM19zvutW8FRJXIXUVnC3QnKUzjl60ktpxCNAJhOgz643K/bK9HXc qQgo1O8wJaEwQ== 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 v2 1/4] PCI: altera-msi: Include explicitly Date: Tue, 25 Oct 2022 13:51:44 -0500 Message-Id: <20221025185147.665365-2-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025185147.665365-1-helgaas@kernel.org> References: <20221025185147.665365-1-helgaas@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 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?1747687226605392303?= X-GMAIL-MSGID: =?utf-8?q?1747687226605392303?= 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 From patchwork Tue Oct 25 18:51:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 10942 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1166512wru; Tue, 25 Oct 2022 12:01:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ltlHe8ezFmp4c8dz90Zhab0tFizVg/DJBff2Kq/le+aydzHGhZ9Tjl6mqre8oOzQna6aU X-Received: by 2002:a17:90b:3890:b0:20a:9ab0:6fa2 with SMTP id mu16-20020a17090b389000b0020a9ab06fa2mr83554758pjb.49.1666724467526; Tue, 25 Oct 2022 12:01:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666724467; cv=none; d=google.com; s=arc-20160816; b=0b0ixDKiJaCP7b96xL+vaGbgMA1Q0VjPWWPmo9WrJq8NQliXxm785yjDvavpVKnk6F wU3Qh9BEEDNtmV7t5c3W5H1Dz0W02Pte/hUeXMXLQYiNeCHjOKvlRZQk+xRb1wRW1adC aL0B4tF10vsCkAe+rVVOLveoLcWev2HSeFx8NFBLDxsG/z21YOGqRlScev3ycPeRpoW8 eklFLCsWtgfsyhy4qJhQ26IO5vvSHt/+fw8x/5OyBVpGRccjdV7kpH0A5bk8qL6fRfkz 713ggaOS9YyNHpUHwn7aualL43esP/ONX9Bt4GQLSxm/w1ZZ51FBSHDH2JaIbWbR5fK1 yTGw== 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=fGdnpynNA3TunDWmmB0lyNPVkCUW3UB+cCSJm7TJ4W8=; b=P4yqxvH+oF9luzQjHZjDWQNwM01lAnxDCWdiFEmYvHgRMdrBIhefsI8Sl+djRpYy+3 +NPa+yjUHJEbS1MoE9RU/43jy3+w32TrRipM9AQSf63hA5Pe77AbzpUyUk9M9K68Qtf2 /Ekp0SP1EUjZ0IWHY8I5CnYLhAjhDvTDOQ83ju9Dw0DgNKRm4TmQDrszTWTzLXTSDdfr WtjvdCHtG5nH/m6J6Ne+tWdcONotxkSxIUQj8LcTTEircGWYUqpwFDwk/6iNyYPCWvr5 HVpRFjxN8+9/UobllPKPbSn+YJpV0TCl319ZmkBT+AhJXjy74WONmVsVjvnlLwqDKUew awEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Rw8vTMAJ; 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 q3-20020a17090311c300b001789a178e33si4736744plh.428.2022.10.25.12.00.53; Tue, 25 Oct 2022 12:01:07 -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=Rw8vTMAJ; 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 S233081AbiJYSwH (ORCPT + 99 others); Tue, 25 Oct 2022 14:52:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233022AbiJYSwB (ORCPT ); Tue, 25 Oct 2022 14:52:01 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D235611D992; Tue, 25 Oct 2022 11:51:59 -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 84E5CB81E81; Tue, 25 Oct 2022 18:51:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F0986C433D6; Tue, 25 Oct 2022 18:51:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666723917; bh=F248mcLTvmzVsBq/X1m/ocM22o9h6YtGlwDEshOxlPY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Rw8vTMAJJn48s4bvfO6Bdgr2bmmMcPtUVeGHnWLqabdStTnd84O2cNJCdnah3qblM WWpP5rdddCb3KLJ1CK0CWJ4PaKwIDvaQgNg1S+Azmg5MP9wmEha2ab7BpGjTiswfK8 F+H6+jHCPFq534N8LGUozPZtN0VoOnG6QKwu9ibleMESoVzSlKmEQOgCOLDTM2sgMO emwtLiDmnnlDhNnhup24CEx2x/RqPl04Vwjx/3TBkx1VOAlMqlofAQF+/sCnKf7jFk IShCcyXKF18kUnbyvkOmFVv+Zpofd3m/ZPKx7+Q4Z2A2dDvxY5oDryockcgW7lUc+B UuXJ+QAYliQFQ== 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 v2 2/4] PCI: microchip: Include explicitly Date: Tue, 25 Oct 2022 13:51:45 -0500 Message-Id: <20221025185147.665365-3-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025185147.665365-1-helgaas@kernel.org> References: <20221025185147.665365-1-helgaas@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 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?1747687275368395720?= X-GMAIL-MSGID: =?utf-8?q?1747687275368395720?= From: Bjorn Helgaas pcie-microchip-host.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-microchip-host.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-microchip-host.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/pcie-microchip-host.c b/drivers/pci/controller/pcie-microchip-host.c index 7263d175b5ad..57b2a62f52c8 100644 --- a/drivers/pci/controller/pcie-microchip-host.c +++ b/drivers/pci/controller/pcie-microchip-host.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include From patchwork Tue Oct 25 18:51:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 10941 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1166347wru; Tue, 25 Oct 2022 12:00:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM685mK1p23MXi7vtx14wNfH+chi3lmZjdI3BR7LVMR4wAHvTEdaRknYfP/Tc7kjcd2cZ0OC X-Received: by 2002:a17:903:22d2:b0:17f:7dea:985f with SMTP id y18-20020a17090322d200b0017f7dea985fmr40579924plg.68.1666724452088; Tue, 25 Oct 2022 12:00:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666724452; cv=none; d=google.com; s=arc-20160816; b=jO02C3aHxuE9e9VFFFg6etCFYXv+47dIL+hLgded88hLZGU0W3Uorr6nqyUxWspgB7 vn4BbK4DOSjYZbT2vrSYiJz+Ga3z86BQUPAs68dQKVA/z8Zte8wyKsznf7dyCTa80aDl yewFdiJghmdk+zmsq9oNnyZl66BkZ6DU0N9XRBHh8/2D33IobdzuYMu1j54ppgWzwo34 tjmxA3mp7yrJn3EDRN1f530F22PznKSD0mXdGW23qH3BBaJjOsRU1fcw74lpLlqc9YRf Ko7d0beMNhfYkp4Cgf3AYH4W131ZYGf/bJrx5X3SEDEb55lBlb7oLCegfGb44rrwkoJV OzGA== 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=EDB9nG4ZCVpMCLyBtZmsD1CoCEBIq9JapQ7+fpdO9dw=; b=MbOOekiqs0pL6lUkuQKHhNDVAKInL+lTlcfaZk8y27PS8Xc9lxXU7ZlSUIFMsHialK 1pG36GEVOq+mtRs5duQbU//wi8nScyTb1+yzK9vDGvIkXE/IvyPMNuaX8Y9VhUmgPBSf o7KjXV+PQHoa0yT706i86klQXIOvUJTpP07R3u1GX2h2jsScR0QURC4Cw8hsWRMJMyPp V76FwDFaMUHFnv0POQCpm817RqHVgQxogfyLtMbjwRucyJgObKtXi7CQhWbJymkM+sQh YLkv/YyPzT9HcaGOt+d2DDCmqJpSDPVMbWMuiT2VFJgVgbNbcgCCxMRpMCJeFsDH0UpZ dbAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lHtBkObV; 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 s3-20020a17090a440300b0020243dc975bsi12355691pjg.116.2022.10.25.12.00.38; Tue, 25 Oct 2022 12:00:52 -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=lHtBkObV; 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 S232471AbiJYSwO (ORCPT + 99 others); Tue, 25 Oct 2022 14:52:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233052AbiJYSwC (ORCPT ); Tue, 25 Oct 2022 14:52:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8A6511CB70; Tue, 25 Oct 2022 11:52:01 -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 60656B81E86; Tue, 25 Oct 2022 18:52:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C17F5C433C1; Tue, 25 Oct 2022 18:51:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666723919; bh=+ozRyG+/L/xs5vMkn+C6G9WKJtfh+Y8vy5sNTnvobgc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lHtBkObVoFVrLhYC4gn/QUV/dtIAEoOoq4OtZJADIfcNZSGavoUdIulRDBjIYK5mF M4clRpNMn5kFEGJzbJ1v2PJaDb15VBpRbsZiWI1S2TI+da31fCdE38Dp1Y5DTj4NGI qX6xYH/+23SWUNH5d5CfpnmRSSrIlQFbHp9ld4rA1H+4vocz1pDNKPlqAHo8y+Ly2G fEuad0uRxrKE8HcLhnlgbO7mqi8fhBxs8IOHbL5OTl2ImQy6hPuMitRwEQgQP3EdDS 0bFaPSElzGcQaOFqkUEE8LeFg4xz1tW+UjTwyvGySZ1NZvBq1xglPK5vDJ+mup3ud1 ZFyKQGMIWVH7w== 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 v2 3/4] PCI: mvebu: Include explicitly Date: Tue, 25 Oct 2022 13:51:46 -0500 Message-Id: <20221025185147.665365-4-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025185147.665365-1-helgaas@kernel.org> References: <20221025185147.665365-1-helgaas@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 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?1747687259284035139?= X-GMAIL-MSGID: =?utf-8?q?1747687259284035139?= From: Bjorn Helgaas pci-mvebu.c uses irq_domain_add_linear() and related interfaces but relies on but doesn't include it directly; it relies on the fact that includes it. Include directly to remove this implicit dependency. Signed-off-by: Bjorn Helgaas Acked-by: Thomas Petazzoni --- drivers/pci/controller/pci-mvebu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c index 1ced73726a26..73db99035c2b 100644 --- a/drivers/pci/controller/pci-mvebu.c +++ b/drivers/pci/controller/pci-mvebu.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include From patchwork Tue Oct 25 18:51:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 10943 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1166602wru; Tue, 25 Oct 2022 12:01:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5exeI6KphEWuoSNzn6i+EHLwmvFEG2CSG9+QhkLOQcmxe0XvkbbLtZZoPUUk0pIddDU6LT X-Received: by 2002:aa7:cb87:0:b0:43b:e650:6036 with SMTP id r7-20020aa7cb87000000b0043be6506036mr37703409edt.350.1666724477016; Tue, 25 Oct 2022 12:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666724477; cv=none; d=google.com; s=arc-20160816; b=JNlNBdhe+Y5Z8JrWcviCWmE28wr/LWwp9ooJ6a3AEwuMwwTU+Kt16wFd9c5813diMV ij83+7qC93VcVUTIacg/jjOrGjtzBc3z/8jyTaTS0XP05EEBx2d2Yn2v1E5l6oVpoYNe 8DLrfHZN/LoMpVngb+UnS6kKYhJJZgYti3U2DzPlt9GM+kZZdflyFo2EGj6maE3Y54al DQc4rsVpo9/AZAvChV4T5L9zrGUL9+BCLvifUBovmS4pkyAfmsOWXn5PpwcjhdPS/PVe dkDxKo8U74rf/4EwPaaPfPYeyKhgOWT9hgH18J5HnuxMqHpjrf7TEXTim6kX7fax9LKw COyg== 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=O63V/CXF/fA4oHZfYgqk31PMJw9++jiFNqaq9nDiEAU=; b=it45Jk5fHj1dYZMH6xfJq8XV1giXaUGUXIILBF5dYypur59N5LkuXUSwP6Qx/W+2st Qxg4Ztpp12ebI/Yxvcwnb+ohH09wvJXCVPtY8ArWx0Y7vm+txn25iBS2dMJPASIGLVb6 EOJAOZbQUnQSXxAVILID6emCXIddgSTwGZqIf2Wv1z7Hh2l9ZDPDN/TOnmjONMqagUrD cUJ1+4FFurGFHHKOiP6H5RdkJuA19IG/aTSiRdTUMb2NcHNWktD2Y2bLjCnjZbNDRawd jPDfijq/KklfgGocHParH7nLmQPJR8ChjAunxcuSkwzgKRcHIqShu9psXhbYkY6m8S/W qI+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BXu0HXtu; 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 g7-20020a1709063b0700b0078d9c0e896bsi2947992ejf.525.2022.10.25.12.00.50; Tue, 25 Oct 2022 12:01:16 -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=BXu0HXtu; 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 S231714AbiJYSwT (ORCPT + 99 others); Tue, 25 Oct 2022 14:52:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233058AbiJYSwD (ORCPT ); Tue, 25 Oct 2022 14:52:03 -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 F01A411D992; Tue, 25 Oct 2022 11:52:01 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 8A5B961B01; Tue, 25 Oct 2022 18:52:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B11A1C433C1; Tue, 25 Oct 2022 18:52:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666723921; bh=24HtZK+64pLjoLqyjcZ8BB1o6F2FHMPWQnmPxc1FREE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BXu0HXtunY8YsogpiEksmr93n4mws9Q2kUIDlnfxJn0KFEMaWDlWMo4Dxa+IB6mHP ZnHHrLX9qrFSoVXQZumVgtIlcToiLp32NVkbYBEZREYLQm2X32mHrgdZjtZOkDcwsE +0+MksywdKu70mT7YCdNXMoW0ggPwIOH4KL1zdt1pmG9hN8lbBHRFP2rpoTtlca0Si +SkpVvu17UJekXd/a8EnVbkMjodJUwQP28GWj+WbPqqb0Jl+j12br5KoiVjKpG0Bpm YXbf2FOgVM7zyBp9XS2l257UtHmrhdb+uJH/M/f+mJwt/kAqJ7fmE/1/YIiavJJsE3 H+tMjBA2IC+Yw== 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 v2 4/4] PCI: Remove unnecessary includes Date: Tue, 25 Oct 2022 13:51:47 -0500 Message-Id: <20221025185147.665365-5-helgaas@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221025185147.665365-1-helgaas@kernel.org> References: <20221025185147.665365-1-helgaas@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 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?1747687173600528801?= X-GMAIL-MSGID: =?utf-8?q?1747687285476611642?= From: Bjorn Helgaas Many host controller drivers #include even though they don't need it. Remove the unnecessary #includes. Signed-off-by: Bjorn Helgaas --- drivers/pci/controller/cadence/pci-j721e.c | 1 - drivers/pci/controller/dwc/pci-layerscape.c | 1 - drivers/pci/controller/dwc/pcie-armada8k.c | 1 - drivers/pci/controller/dwc/pcie-tegra194.c | 1 - drivers/pci/controller/pci-v3-semi.c | 1 - drivers/pci/controller/pci-xgene-msi.c | 1 - drivers/pci/controller/pci-xgene.c | 1 - drivers/pci/controller/pcie-altera-msi.c | 1 - drivers/pci/controller/pcie-iproc-platform.c | 1 - drivers/pci/controller/pcie-iproc.c | 1 - drivers/pci/controller/pcie-microchip-host.c | 1 - drivers/pci/controller/pcie-rockchip-host.c | 1 - drivers/pci/controller/pcie-xilinx-cpm.c | 1 - drivers/pci/controller/pcie-xilinx-nwl.c | 1 - 14 files changed, 14 deletions(-) diff --git a/drivers/pci/controller/cadence/pci-j721e.c b/drivers/pci/controller/cadence/pci-j721e.c index a82f845cc4b5..cc83a8925ce0 100644 --- a/drivers/pci/controller/cadence/pci-j721e.c +++ b/drivers/pci/controller/cadence/pci-j721e.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/dwc/pci-layerscape.c b/drivers/pci/controller/dwc/pci-layerscape.c index 879b8692f96a..ed5fb492fe08 100644 --- a/drivers/pci/controller/dwc/pci-layerscape.c +++ b/drivers/pci/controller/dwc/pci-layerscape.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/dwc/pcie-armada8k.c b/drivers/pci/controller/dwc/pcie-armada8k.c index dc469ef8e99b..5c999e15c357 100644 --- a/drivers/pci/controller/dwc/pcie-armada8k.c +++ b/drivers/pci/controller/dwc/pcie-armada8k.c @@ -21,7 +21,6 @@ #include #include #include -#include #include "pcie-designware.h" diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c index 1b6b437823d2..02d78a12b6e7 100644 --- a/drivers/pci/controller/dwc/pcie-tegra194.c +++ b/drivers/pci/controller/dwc/pcie-tegra194.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/pci-v3-semi.c b/drivers/pci/controller/pci-v3-semi.c index 154a5398633c..784fcf35599c 100644 --- a/drivers/pci/controller/pci-v3-semi.c +++ b/drivers/pci/controller/pci-v3-semi.c @@ -22,7 +22,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/pci-xgene-msi.c b/drivers/pci/controller/pci-xgene-msi.c index bfa259781b69..5efc6e56559f 100644 --- a/drivers/pci/controller/pci-xgene-msi.c +++ b/drivers/pci/controller/pci-xgene-msi.c @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/pci-xgene.c b/drivers/pci/controller/pci-xgene.c index 549d3bd6d1c2..887b4941ff32 100644 --- a/drivers/pci/controller/pci-xgene.c +++ b/drivers/pci/controller/pci-xgene.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/pcie-altera-msi.c b/drivers/pci/controller/pcie-altera-msi.c index 4366e042e98b..65e8a20cc442 100644 --- a/drivers/pci/controller/pcie-altera-msi.c +++ b/drivers/pci/controller/pcie-altera-msi.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/pcie-iproc-platform.c b/drivers/pci/controller/pcie-iproc-platform.c index 538115246c79..4142a73e611d 100644 --- a/drivers/pci/controller/pcie-iproc-platform.c +++ b/drivers/pci/controller/pcie-iproc-platform.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include diff --git a/drivers/pci/controller/pcie-iproc.c b/drivers/pci/controller/pcie-iproc.c index 2519201b0e51..83029bdfd884 100644 --- a/drivers/pci/controller/pcie-iproc.c +++ b/drivers/pci/controller/pcie-iproc.c @@ -18,7 +18,6 @@ #include #include #include -#include #include #include diff --git a/drivers/pci/controller/pcie-microchip-host.c b/drivers/pci/controller/pcie-microchip-host.c index 57b2a62f52c8..0ebf7015e9af 100644 --- a/drivers/pci/controller/pcie-microchip-host.c +++ b/drivers/pci/controller/pcie-microchip-host.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/pcie-rockchip-host.c b/drivers/pci/controller/pcie-rockchip-host.c index 7352b5ff8d35..c96c0f454570 100644 --- a/drivers/pci/controller/pcie-rockchip-host.c +++ b/drivers/pci/controller/pcie-rockchip-host.c @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/pcie-xilinx-cpm.c b/drivers/pci/controller/pcie-xilinx-cpm.c index e4ab48041eb6..4a787a941674 100644 --- a/drivers/pci/controller/pcie-xilinx-cpm.c +++ b/drivers/pci/controller/pcie-xilinx-cpm.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include diff --git a/drivers/pci/controller/pcie-xilinx-nwl.c b/drivers/pci/controller/pcie-xilinx-nwl.c index 40d070e54ad2..f0271b6c6f8d 100644 --- a/drivers/pci/controller/pcie-xilinx-nwl.c +++ b/drivers/pci/controller/pcie-xilinx-nwl.c @@ -17,7 +17,6 @@ #include #include #include -#include #include #include #include