diff options
author | Kees Cook <keescook@chromium.org> | 2020-07-14 11:30:23 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-07-17 13:56:35 -0600 |
commit | 850d0cc64c8e2e0895acf735ac0a53c78b80dbe5 (patch) | |
tree | a16d20db30270299c9bab9838eb60b2845a6eadd /drivers/macintosh/windfarm_pm72.c | |
parent | 4c6614dc86ad99208e7582108669831c4ab72982 (diff) |
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 'drivers/macintosh/windfarm_pm72.c')
0 files changed, 0 insertions, 0 deletions