Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1788212pxb; Fri, 20 Aug 2021 14:08:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydQFUlhFQLt7UZh/qPgFZY4BF1unRcPv1FpC7KStj3ExutOCmvSogHhmT93pNvoMZNWqBV X-Received: by 2002:a5d:8e19:: with SMTP id e25mr17795280iod.175.1629493704424; Fri, 20 Aug 2021 14:08:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629493704; cv=none; d=google.com; s=arc-20160816; b=eT7TwYLG3swRVtkJFT4MZKKb6T/iymhk3ZUqsNW8dbGiM5p60z5zNMtTPEQOrrjRDr hgli3herHZnLv8RBLC+eE1Wf6br1RDjRNG4Rb16lWxb5+ssjurFtFwfl9TblZsveFxqN yZJSuRuQ10kC2oKFgj2jTYaqA2GCT+/JQlIyzkmV1x3n9sXmZpQsJFKvM23TPUiNWX5a 58OgopOd8MCC1WYada/yN91btbvgq8SS+jGcahso9D4mjq87dfwTYf4rU8jLjN0kMEZs mIo3BiNuJoTO6kMoyI5UjSLIri9s1Le1XRZZmgdxJQpSQQjmO2j8bwqccjAU02tXGgPQ 91Fw== 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=5f6PGwZ2PSpj2UBrUOTnrXMZF+nvnaiO4w8A3uXm4rs=; b=Tbw7e1uKMbVZHdmaLXFSrkOU12Yl69HWoVzBZkAHAVZz8qSNZRBEKdL1wdFOHZRQ7f cH34SKpzVG+4XrseHbo4G8UyBTLUpaQEXoR+v0MlfRyxok5RyXg8Ahm4dpqqv1/sHy/r E0RjZ9ZM6hH/Y4D5Oqg/2U9LG71YYFfb51UN6dapJJanWClKFn5NcIf7MHNvxwGEhPWq eKpqf+tPk3NPTvqOyWBUIsMJgjzI9BPEwENhCtqcT08Zjqa7YkK7/tcPM2u2XR1Rj0FL 3RlaLSd/zOMmlr/vJCht7hYo2/jQ+tztp7MHDmZ4cII2XOsZWVMpIAsKRToqFjY96HZi iirQ== 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 i1si7584073iow.3.2021.08.20.14.08.11; Fri, 20 Aug 2021 14:08:24 -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 S240392AbhHTVH2 (ORCPT + 99 others); Fri, 20 Aug 2021 17:07:28 -0400 Received: from mga14.intel.com ([192.55.52.115]:29559 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbhHTVH2 (ORCPT ); Fri, 20 Aug 2021 17:07:28 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10082"; a="216569438" X-IronPort-AV: E=Sophos;i="5.84,338,1620716400"; d="scan'208";a="216569438" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 14:06:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,338,1620716400"; d="scan'208";a="680433247" Received: from lkp-server01.sh.intel.com (HELO d053b881505b) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 20 Aug 2021 14:06:47 -0700 Received: from kbuild by d053b881505b with local (Exim 4.92) (envelope-from ) id 1mHBiw-000VCF-9U; Fri, 20 Aug 2021 21:06:46 +0000 Date: Sat, 21 Aug 2021 05:06:10 +0800 From: kernel test robot To: "Rafael J. Wysocki" , Linux PCI , Jonathan Derrick Cc: kbuild-all@lists.01.org, Wendy Wang , Linux ACPI , LKML , Mika Westerberg , Bjorn Helgaas , David Box Subject: [RFC PATCH] PCI: VMD: ACPI: pci_acpi_companion_lookup_key can be static Message-ID: <20210820210610.GA23698@ef1ee8e5bb1c> References: <11834551.O9o76ZdvQC@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <11834551.O9o76ZdvQC@kreacher> 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-acpi.c:1164:1: warning: symbol 'pci_acpi_companion_lookup_key' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- pci-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index 535f43034a073..c8718aeafae5d 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -1161,7 +1161,7 @@ void acpi_pci_remove_bus(struct pci_bus *bus) /* ACPI bus type */ -DEFINE_STATIC_KEY_FALSE(pci_acpi_companion_lookup_key); +static DEFINE_STATIC_KEY_FALSE(pci_acpi_companion_lookup_key); static DEFINE_MUTEX(pci_acpi_companion_lookup_mtx); static struct acpi_device *(*pci_acpi_find_companion_hook)(struct pci_dev *);