aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/psci_checker.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/firmware/psci_checker.c')
-rw-r--r--drivers/firmware/psci_checker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/psci_checker.c b/drivers/firmware/psci_checker.c
index 9f1a913933d5..49b6a7be3a82 100644
--- a/drivers/firmware/psci_checker.c
+++ b/drivers/firmware/psci_checker.c
@@ -162,7 +162,7 @@ static int alloc_init_cpu_groups(cpumask_var_t **pcpu_groups)
if (!alloc_cpumask_var(&tmp, GFP_KERNEL))
return -ENOMEM;
- cpu_groups = kcalloc(nb_available_cpus, sizeof(cpu_groups),
+ cpu_groups = kcalloc(nb_available_cpus, sizeof(*cpu_groups),
GFP_KERNEL);
if (!cpu_groups) {
free_cpumask_var(tmp);