diff options
author | Dave Hansen <[email protected]> | 2018-05-09 10:13:40 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-05-14 11:14:45 +0200 |
commit | 86b9eea230edf4c67d4d4a70fba9b74505867a25 (patch) | |
tree | a093638827e57d3c411dd26f8d3dbb50b38ddb11 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 55556b0b2016806b2e16a20b62d143383983a34a (diff) |
x86/pkeys/selftests: Stop using assert()
If we use assert(), the program "crashes". That can be scary to users,
so stop doing it. Just exit with a >0 exit code instead.
Signed-off-by: Dave Hansen <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Michael Ellermen <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Ram Pai <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions