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

Commit 2a0b70a9 authored by Ashwini Jain's avatar Ashwini Jain Committed by Laxman Siripuram
Browse files

Fix tpd Coverity issue.

Change-Id: Id7867f92bea6dc5ec387749698cf020c8569c30c
parent 7a4b94ac
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ bool is_dynamic_tpd_task(struct task_struct *tsk)

	gid = leader->dtpdg;
	/* not dynamic tpd task will return */
	if (gid < TPD_GROUP_MEDIAPROVIDER || gid > TPD_GROUP_MAX)
	if (gid < TPD_GROUP_MEDIAPROVIDER || gid >= TPD_GROUP_MAX)
		return ret;

	group = &mgp[gid];