diff options
author | Matthew Wilcox <[email protected]> | 2018-05-18 16:08:44 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2018-05-18 17:17:12 -0700 |
commit | 1e3054b98c5415d5cb5f8824fc33b548ae5644c3 (patch) | |
tree | 7dbee021ba882eb5a101cbb158a196fc5539818b /lib/test-string_helpers.c | |
parent | 2c71d338bef2cc8a2e5f8ebe70788eeff246fcd8 (diff) |
lib/test_bitmap.c: fix bitmap optimisation tests to report errors correctly
I had neglected to increment the error counter when the tests failed,
which made the tests noisy when they fail, but not actually return an
error code.
Link: http://lkml.kernel.org/r/[email protected]
Fixes: 3cc78125a081 ("lib/test_bitmap.c: add optimisation tests")
Signed-off-by: Matthew Wilcox <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Reported-by: Michael Ellerman <[email protected]>
Tested-by: Michael Ellerman <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Cc: Yury Norov <[email protected]>
Cc: Andy Shevchenko <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: <[email protected]> [4.13+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions