]> git.baikalelectronics.ru Git - kernel.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)
commitaee758867b95703087bc36c0834354d10e003719
tree89e985cae2cfda5e2019dc78c4e82c8a0a5095d5
parent038861d0e0d7b151102ec087a66793e1b9cbc3fe
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