https://github.com/torvalds/linux
Revision 1e3054b98c5415d5cb5f8824fc33b548ae5644c3 authored by Matthew Wilcox on 18 May 2018, 23:08:44 UTC, committed by Linus Torvalds on 19 May 2018, 00:17:12 UTC
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/20180509114328.9887-1-mpe@ellerman.id.au
Fixes: 3cc78125a081 ("lib/test_bitmap.c: add optimisation tests")
Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Tested-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Kees Cook <keescook@chromium.org>
Cc: Yury Norov <ynorov@caviumnetworks.com>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: <stable@vger.kernel.org>	[4.13+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 2c71d33
History
Tip revision: 1e3054b98c5415d5cb5f8824fc33b548ae5644c3 authored by Matthew Wilcox on 18 May 2018, 23:08:44 UTC
lib/test_bitmap.c: fix bitmap optimisation tests to report errors correctly
Tip revision: 1e3054b
File Mode Size
Kconfig -rw-r--r-- 685 bytes
Makefile -rw-r--r-- 402 bytes
channel.c -rw-r--r-- 24.1 KB
channel_mgmt.c -rw-r--r-- 33.5 KB
connection.c -rw-r--r-- 10.7 KB
hv.c -rw-r--r-- 11.3 KB
hv_balloon.c -rw-r--r-- 43.5 KB
hv_fcopy.c -rw-r--r-- 9.9 KB
hv_kvp.c -rw-r--r-- 19.6 KB
hv_snapshot.c -rw-r--r-- 10.2 KB
hv_trace.c -rw-r--r-- 114 bytes
hv_trace.h -rw-r--r-- 9.9 KB
hv_trace_balloon.h -rw-r--r-- 1.6 KB
hv_util.c -rw-r--r-- 14.0 KB
hv_utils_transport.c -rw-r--r-- 8.0 KB
hv_utils_transport.h -rw-r--r-- 2.1 KB
hyperv_vmbus.h -rw-r--r-- 10.5 KB
ring_buffer.c -rw-r--r-- 13.5 KB
vmbus_drv.c -rw-r--r-- 45.4 KB

back to top