From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8139626673987837542==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] ACPI: APEI: remove_quirk_mcfg_res() can be static Date: Thu, 28 Oct 2021 06:46:22 +0800 Message-ID: <20211027224622.GA6413@23a2bd086a91> In-Reply-To: <20211027081312.53682-1-xuesong.chen@linux.alibaba.com> List-Id: --===============8139626673987837542== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/acpi/apei/apei-base.c:453:5: warning: symbol 'remove_quirk_mcfg_res= ' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- apei-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/apei/apei-base.c b/drivers/acpi/apei/apei-base.c index 4f7311a55a342..dbb0fa4125e32 100644 --- a/drivers/acpi/apei/apei-base.c +++ b/drivers/acpi/apei/apei-base.c @@ -450,7 +450,7 @@ static int apei_get_nvs_resources(struct apei_resources= *resources) } = #ifdef CONFIG_PCI -int remove_quirk_mcfg_res(struct apei_resources *mcfg_res) +static int remove_quirk_mcfg_res(struct apei_resources *mcfg_res) { #ifdef CONFIG_PCI_QUIRKS int rc =3D 0; --===============8139626673987837542==--