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
arm_scmi
broadcom
efi
google
meson
tegra
Kconfig -rw-r--r-- 10.3 KB
Makefile -rw-r--r-- 1.2 KB
arm_scpi.c -rw-r--r-- 26.5 KB
arm_sdei.c -rw-r--r-- 23.5 KB
dcdbas.c -rw-r--r-- 15.5 KB
dcdbas.h -rw-r--r-- 2.8 KB
dell_rbu.c -rw-r--r-- 19.1 KB
dmi-id.c -rw-r--r-- 6.6 KB
dmi-sysfs.c -rw-r--r-- 16.9 KB
dmi_scan.c -rw-r--r-- 27.3 KB
edd.c -rw-r--r-- 19.9 KB
iscsi_ibft.c -rw-r--r-- 20.9 KB
iscsi_ibft_find.c -rw-r--r-- 2.8 KB
memmap.c -rw-r--r-- 12.0 KB
pcdp.c -rw-r--r-- 3.3 KB
pcdp.h -rw-r--r-- 2.7 KB
psci.c -rw-r--r-- 16.0 KB
psci_checker.c -rw-r--r-- 12.7 KB
qcom_scm-32.c -rw-r--r-- 15.6 KB
qcom_scm-64.c -rw-r--r-- 12.3 KB
qcom_scm.c -rw-r--r-- 15.4 KB
qcom_scm.h -rw-r--r-- 3.9 KB
qemu_fw_cfg.c -rw-r--r-- 25.1 KB
raspberrypi.c -rw-r--r-- 6.6 KB
scpi_pm_domain.c -rw-r--r-- 4.2 KB
ti_sci.c -rw-r--r-- 54.3 KB
ti_sci.h -rw-r--r-- 17.2 KB

back to top