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

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

Merge "devfreq: memlat: correct null pointer derference"

parents 6cd002dc f2ddf340
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -366,6 +366,9 @@ static int memlat_hp_restart_events(unsigned int cpu, bool cpu_up)
	unsigned int idx;
	struct event_data *common_evs;

	if (!attr)
		return -ENOMEM;

	if (!cpu_grp)
		goto exit;