Content-Type: multipart/mixed; boundary="===============1322643985217174978==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] PCI: pcie_has_flr() can be static Date: Mon, 02 Aug 2021 01:05:01 +0800 Message-ID: <20210801170501.GA141152@1c36740427e6> In-Reply-To: <20210801142518.1224-3-ameynarkhede03@gmail.com> List-Id: --===============1322643985217174978== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/pci/pci.c:4636:6: warning: symbol 'pcie_has_flr' was not declared. = Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 338c98bb60968..dba075bd11114 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -4633,7 +4633,7 @@ EXPORT_SYMBOL(pci_wait_for_pending_transaction); * Returns true if the device advertises support for PCIe function level * resets. */ -bool pcie_has_flr(struct pci_dev *dev) +static bool pcie_has_flr(struct pci_dev *dev) { if (dev->dev_flags & PCI_DEV_FLAGS_NO_FLR_RESET) return false; --===============1322643985217174978==--