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-- 2.4 KB
Makefile -rw-r--r-- 651 bytes
block.c -rw-r--r-- 75.1 KB
block.h -rw-r--r-- 457 bytes
bus.c -rw-r--r-- 8.3 KB
bus.h -rw-r--r-- 1.2 KB
card.h -rw-r--r-- 6.2 KB
core.c -rw-r--r-- 70.7 KB
core.h -rw-r--r-- 5.8 KB
debugfs.c -rw-r--r-- 6.7 KB
host.c -rw-r--r-- 12.4 KB
host.h -rw-r--r-- 2.0 KB
mmc.c -rw-r--r-- 58.0 KB
mmc_ops.c -rw-r--r-- 24.1 KB
mmc_ops.h -rw-r--r-- 1.9 KB
mmc_test.c -rw-r--r-- 73.5 KB
pwrseq.c -rw-r--r-- 2.3 KB
pwrseq.h -rw-r--r-- 1.6 KB
pwrseq_emmc.c -rw-r--r-- 3.0 KB
pwrseq_sd8787.c -rw-r--r-- 3.2 KB
pwrseq_simple.c -rw-r--r-- 4.0 KB
queue.c -rw-r--r-- 12.0 KB
queue.h -rw-r--r-- 2.9 KB
quirks.h -rw-r--r-- 5.7 KB
sd.c -rw-r--r-- 29.8 KB
sd.h -rw-r--r-- 556 bytes
sd_ops.c -rw-r--r-- 7.4 KB
sd_ops.h -rw-r--r-- 1.1 KB
sdio.c -rw-r--r-- 26.5 KB
sdio_bus.c -rw-r--r-- 8.3 KB
sdio_bus.h -rw-r--r-- 650 bytes
sdio_cis.c -rw-r--r-- 9.0 KB
sdio_cis.h -rw-r--r-- 683 bytes
sdio_io.c -rw-r--r-- 18.4 KB
sdio_irq.c -rw-r--r-- 8.5 KB
sdio_ops.c -rw-r--r-- 4.7 KB
sdio_ops.h -rw-r--r-- 1.2 KB
sdio_uart.c -rw-r--r-- 28.8 KB
slot-gpio.c -rw-r--r-- 8.4 KB
slot-gpio.h -rw-r--r-- 284 bytes

back to top