Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1034262pxy; Sun, 1 Aug 2021 10:07:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzkvk/RKi8GDz3Vc5hhMK0kCC4iyRkN8dholturOKwR2tZVq1/jTRprSXU+HhW0lN7js5Z X-Received: by 2002:aa7:c799:: with SMTP id n25mr14338059eds.16.1627837657257; Sun, 01 Aug 2021 10:07:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627837657; cv=none; d=google.com; s=arc-20160816; b=aUa/GEBGhRTX7RMtN9LsDfCriDdXf7R2HxJ2ImaaDf07BSAfLcHZTjK55ZdhrXx8Pw nJGnsFbskcPgAaty2clDTMpRSvgoWcR+ioRwjAYOOxHjlKjChAtdWvz5lorRT0POU11k GqTl2a3vSC17YzUMxBjaPXBzvrRMEPnuVoxNtPtjwx3Yq1shL87/rEoKzn/wJI64uEIh 8YRdWuJD0iKUeV7EhEJMRubvncBBS3mm7ZVf3Zk+qomVpBwINHTmeuccK3tPZ06ym18v w7Hg3a6TE1ecu5Wp0CeG8RGsHhh7Jy/0fHvW1LRoPGBv8KMlWMfSAU89f/OuOPdj6pq/ Q38w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pNkE03NJHy0PPWyTs9wXYXA8eYDGm65QGiBBU0pD8+I=; b=Cp49QfpryuzPyfGrxRgZCVFsz5fOMe9nzC87cmVMX5LVRgktG9okv+vIluT+3VoY8t 4D4skdRCq70gZVIt1e4uMNqb97OZi27q+nUM9cWSAr0Fk+RuX1m2AtqbVoNrf66Xr/9+ DTjW9O06q2BWfC0gSUjDPEB3cv2VYfJdjJ/ZRXqMY3lrXTzx+KkItk9upHabdY3El++u IRLTgProb3YEdHzTvZwAx9jX4sn/87mDF6jaGcc0JFsqF0Di7L1nnU8SKq2mitdWboHY 3a3UgoO4x/7E2tcT6BDuD2apeKPahK22cEM/lotk3ir1h7qBEwuYfWlPvdbMIA3ADj1V nKiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b10si8962714ejj.523.2021.08.01.10.07.12; Sun, 01 Aug 2021 10:07:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229646AbhHARGC (ORCPT + 99 others); Sun, 1 Aug 2021 13:06:02 -0400 Received: from mga18.intel.com ([134.134.136.126]:26297 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbhHARGB (ORCPT ); Sun, 1 Aug 2021 13:06:01 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10062"; a="200541867" X-IronPort-AV: E=Sophos;i="5.84,286,1620716400"; d="scan'208";a="200541867" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Aug 2021 10:05:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,286,1620716400"; d="scan'208";a="478213629" Received: from lkp-server01.sh.intel.com (HELO d053b881505b) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 01 Aug 2021 10:05:49 -0700 Received: from kbuild by d053b881505b with local (Exim 4.92) (envelope-from ) id 1mAEuK-000CUb-UD; Sun, 01 Aug 2021 17:05:48 +0000 Date: Mon, 2 Aug 2021 01:05:01 +0800 From: kernel test robot To: Amey Narkhede , Bjorn Helgaas Cc: kbuild-all@lists.01.org, alex.williamson@redhat.com, Raphael Norwitz , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kw@linux.com, Shanker Donthineni , Sinan Kaya , Len Brown , "Rafael J . Wysocki" Subject: [RFC PATCH] PCI: pcie_has_flr() can be static Message-ID: <20210801170501.GA141152@1c36740427e6> References: <20210801142518.1224-3-ameynarkhede03@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210801142518.1224-3-ameynarkhede03@gmail.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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;