diff options
author | Peter Zijlstra <[email protected]> | 2017-10-04 10:50:25 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-10-10 10:04:29 +0200 |
commit | c7e2f69d3ed2e56de1f5eaaf37c0f5f91d7adb0a (patch) | |
tree | 4c03ba202875cdcbe6c72fbc7a1f483af46f9c5c /tools/perf/util | |
parent | 8b405d5c5d0996d3d16f70c42744a0500f5b6ec3 (diff) |
locking/selftest: Avoid false BUG report
The work-around for the expected failure is providing another failure :/
Only when CONFIG_PROVE_LOCKING=y do we increment unexpected_testcase_failures,
so only then do we need to decrement, otherwise we'll end up with a negative
number and that will again trigger a BUG (printout, not crash).
Reported-by: Fengguang Wu <[email protected]>
Tested-by: Fengguang Wu <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Fixes: d82fed752942 ("locking/lockdep/selftests: Fix mixed read-write ABBA tests")
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util')
0 files changed, 0 insertions, 0 deletions