Skip to contentSkip to conversation

tools-testing-selftests-fix-uninitialized-variable.patch removed from -mm tree

merged [email protected] 1 participant 1 message Oct 17, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Subject: [merged] tools-testing-selftests-fix-uninitialized-variable.patch removed from -mm tree
To: [email protected],[email protected],[email protected]
From: [email protected]
Date: Thu, 17 Oct 2013 11:13:15 -0700

The patch titled
Subject: tools/testing/selftests: fix uninitialized variable
has been removed from the -mm tree. Its filename was
tools-testing-selftests-fix-uninitialized-variable.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Felipe Pena <[email protected]>
Subject: tools/testing/selftests: fix uninitialized variable

The err variable is intended to receive the timer_create() return before checking it

---

 tools/testing/selftests/timers/posix_timers.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/timers/posix_timers.c renamed from tools/testing/selftests/timers/posix_timers.c~tools-testing-selftests-fix-uninitialized-variable +1 -1
diff -puN tools/testing/selftests/timers/posix_timers.c~tools-testing-selftests-fix-uninitialized-variable tools/testing/selftests/timers/posix_timers.c
@@ -151,7 +151,7 @@ static int check_timer_create(int which)
 	fflush(stdout);
 
 	done = 0;
-	timer_create(which, NULL, &id);
+	err = timer_create(which, NULL, &id);
 	if (err < 0) {
 		perror("Can't create timer\n");
 		return -1;

_

Patches currently in -mm which might be from [email protected] are

origin.patch