]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tools/testing/selftests: fix uninitialized variable
authorFelipe Pena <felipensp@gmail.com>
Wed, 16 Oct 2013 20:46:58 +0000 (13:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Oct 2013 04:35:53 +0000 (21:35 -0700)
commitc88b05b2cd07221cdefd56f7f7422c1459eb60c9
tree89e985cae2cfda5e2019dc78c4e82c8a0a5095d5
parent87fc0ad2ad8a15de653f4cef7760fa35e689077f
tools/testing/selftests: fix uninitialized variable

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

Signed-off-by: Felipe Pena <felipensp@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/selftests/timers/posix_timers.c