diff --git a/drivers/cpuidle/lpm-levels-of.c b/drivers/cpuidle/lpm-levels-of.c index f8d7b5e3b975..2db33e178615 100644 --- a/drivers/cpuidle/lpm-levels-of.c +++ b/drivers/cpuidle/lpm-levels-of.c @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2014-2019, The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2019,2021, The Linux Foundation. All rights reserved. */ #define pr_fmt(fmt) "%s: " fmt, KBUILD_MODNAME @@ -638,6 +638,7 @@ struct lpm_cluster *parse_cluster(struct device_node *node, if (ret) return NULL; + INIT_LIST_HEAD(&c->list); INIT_LIST_HEAD(&c->child); INIT_LIST_HEAD(&c->cpu); c->parent = parent;