Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bac14d76 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: thermal: cpu_voltage: initialize pointer variables before using it"

parents 2fb88832 5f1d941c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -177,8 +177,9 @@ static int build_unified_table(struct cc_limits_data *cc_cdev,
static struct cc_limits_data *opp_init(int *cpus)
{
	int cpu1, cpu2;
	struct device *cpu1_dev, *cpu2_dev;
	struct limits_freq_table *cpu1_freq_table, *cpu2_freq_table;
	struct device *cpu1_dev = NULL, *cpu2_dev = NULL;
	struct limits_freq_table *cpu1_freq_table = NULL;
	struct limits_freq_table *cpu2_freq_table = NULL;
	struct limits_freq_table *cpu_freq_table[CPU_MAP_CT];
	int table_ct[CPU_MAP_CT], ret = 0;
	struct cc_limits_data *cc_cdev = NULL;