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

Commit 70a55440 authored by Ashwini Jain's avatar Ashwini Jain Committed by Laxman Siripuram
Browse files

Fix tpd Coverity issue.

Change-Id: I40b3817398b99a4d777cc8ac09c886e50b97e9b3
parent 2a0b70a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -663,7 +663,7 @@ static int tpd_process_trigger_store(const char *buf, const struct kernel_param
					/* need re-tag, add thread name into miss_list */
					strncpy(group->miss_list[group->cur_idx], threads[i], TASK_COMM_LEN);
					group->miss_list_tgid[group->cur_idx] = tgid;
					group->cur_idx = (++group->cur_idx) % MAX_MISS_LIST;
					group->cur_idx = (group->cur_idx+1) % MAX_MISS_LIST;
					group->not_yet++;
				} else {
					/* dynmic tpd disabled when miss_list still have thread need to tag, we clear the miss list */