Content-Type: multipart/mixed; boundary="===============3028287485018748054==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [RFC PATCH] ACPI: PCC: pcc_ctx can be static Date: Thu, 06 Jan 2022 01:45:56 +0800 Message-ID: <20220105174554.GA29945@1e936cf764ba> In-Reply-To: <20220103155838.616580-1-sudeep.holla@arm.com> List-Id: --===============3028287485018748054== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable drivers/acpi/acpi_pcc.c:34:22: warning: symbol 'pcc_ctx' was not declared. = Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- acpi_pcc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpi_pcc.c b/drivers/acpi/acpi_pcc.c index 64552fdb73470..9df4d740b52a6 100644 --- a/drivers/acpi/acpi_pcc.c +++ b/drivers/acpi/acpi_pcc.c @@ -31,7 +31,7 @@ struct pcc_data { struct acpi_pcc_info ctx; }; = -struct acpi_pcc_info pcc_ctx; +static struct acpi_pcc_info pcc_ctx; = static void pcc_rx_callback(struct mbox_client *cl, void *m) { --===============3028287485018748054==--