From: John Stultz Date: Thu, 12 Mar 2015 00:39:58 +0000 (-0700) Subject: selftests/timers: Quiet warning due to lack of return check on brk X-Git-Tag: omap-for-v4.1/fixes-rc1~203^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2430ec652dd67243484c90fe34a4433622fc2a30;p=pandora-kernel.git selftests/timers: Quiet warning due to lack of return check on brk The posix_timers.c test has a loop that tries to keep it in kernel space, repeatedly calling brk(). However, it doesn't check the return value, which causes warnings. This patch adds a err value which captures the return value and modifies the test so it will quit if a failure occurs. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz Tested-by: Prarit Bhargava Signed-off-by: Shuah Khan --- Reading git-diff-tree failed