]> 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)
commit4ee240d8471eb0c22f03669eec9558da7b0db255
tree89e985cae2cfda5e2019dc78c4e82c8a0a5095d5
parentce6c9dbf0f7685c0b317a2a275fc3d784e14b10c
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