linux-stable/tools/testing/selftests/gpio
Kent Gibson 297dc37a1e selftest: gpio: remove obsolete gpio-mockup test
With the removal of the ARCH_NR_GPIOS, the number of available GPIOs
is effectively unlimited, causing the gpio-mockup module load failure
test that overflowed the number of GPIOs to unexpectedly succeed, and
so fail.

The test is no longer relevant so remove it.
Promote the "no lines defined" test so there is still one load
failure test in the basic set.

Fixes: 7b61212f2a ("gpiolib: Get rid of ARCH_NR_GPIOS")
Reported-by: Pengfei Xu <pengfei.xu@intel.com>
Reported-by: Yi Lai <yi1.lai@intel.com>
Closes: https://lore.kernel.org/linux-gpio/ZC6OHBjdwBdT4sSb@xpf.sh.intel.com/
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2024-03-05 20:01:08 +01:00
..
.gitignore selftests: gpio: add a helper for reading GPIO line names 2021-12-17 12:26:13 +01:00
config selftests: gpio: add test cases for gpio-sim 2021-12-17 12:26:13 +01:00
gpio-chip-info.c selftests: gpio: provide a helper for reading chip info 2021-12-17 12:26:13 +01:00
gpio-line-name.c selftests: gpio: add a helper for reading GPIO line names 2021-12-17 12:26:13 +01:00
gpio-mockup-cdev.c selftests: gpio: fix uninitialised variable warning 2021-11-15 14:27:50 +01:00
gpio-mockup-sysfs.sh selftests: gpio: rework and simplify test implementation 2021-02-15 11:43:28 +01:00
gpio-mockup.sh selftest: gpio: remove obsolete gpio-mockup test 2024-03-05 20:01:08 +01:00
gpio-sim.sh gpio updates for v6.5 2023-06-29 10:11:10 -07:00
Makefile selftests: gpio: Fix incorrect kernel headers search path 2023-02-13 09:09:44 -07:00