Commit 09e73dbf authored by kernel test robot's avatar kernel test robot Committed by Zhang Zekun
Browse files

ACPI: PCC: pcc_ctx can be static

mainline inclusion
from mainline-v5.17-rc1
commit 415b4b6c
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I9VPZ8

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=415b4b6c447ae03cb1d9cfc91df39616c92f15e2



-------------------------------

drivers/acpi/acpi_pcc.c:34:22: warning: symbol 'pcc_ctx' was not declared. Should it be static?

Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarkernel test robot <lkp@intel.com>
Reviewed-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarZhang Zekun <zhangzekun11@huawei.com>
parent 88d658f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{