diff options
| author | John Stultz <[email protected]> | 2015-03-11 17:39:58 -0700 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2015-03-12 13:22:12 -0600 |
| commit | 2430ec652dd67243484c90fe34a4433622fc2a30 (patch) | |
| tree | 5ed2cae69531e7e905d98bbc9d04eb044132a05e /tools/perf/scripts/python | |
| parent | 03438212d0b0ea2cf201e921c9056f683c624ffb (diff) | |
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 <[email protected]>
Cc: Prarit Bhargava <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Richard Cochran <[email protected]>
Signed-off-by: John Stultz <[email protected]>
Tested-by: Prarit Bhargava <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions