diff options
author | Kees Cook <keescook@chromium.org> | 2020-07-14 21:30:23 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-07-17 22:56:35 +0300 |
commit | 850d0cc64c8e2e0895acf735ac0a53c78b80dbe5 (patch) | |
tree | a16d20db30270299c9bab9838eb60b2845a6eadd /Documentation/block | |
parent | 4c6614dc86ad99208e7582108669831c4ab72982 (diff) | |
download | linux-850d0cc64c8e2e0895acf735ac0a53c78b80dbe5.tar.xz |
selftests/harness: Limit step counter reporting
When the selftest "step" counter grew beyond 255, non-fatal warnings
were being emitted, which is noisy and pointless. There are selftests
with more than 255 steps (especially those in loops, etc). Instead,
just cap "steps" to 254 and do not report the saturation.
Reported-by: Ralph Campbell <rcampbell@nvidia.com>
Tested-by: Ralph Campbell <rcampbell@nvidia.com>
Fixes: 9847d24af95c ("selftests/harness: Refactor XFAIL into SKIP")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation/block')
0 files changed, 0 insertions, 0 deletions