linux-xiaomi-chiron/tools/testing/selftests/gpio
Kent Gibson c472d71be0 selftests: gpio: fix uninitialised variable warning
When compiled with -Wall gpio-mockup-cdev.c reports an uninitialised
variable warning.  This is a false positive, as the variable is ignored
in the case it is uninitialised, but initialise the variable anyway
to remove the warning.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
2021-11-15 14:27:50 +01:00
..
.gitignore selftests: gpio: update .gitignore 2021-03-08 11:59:16 +01:00
config selftests: gpio: add CONFIG_GPIO_CDEV to config 2021-02-15 11:43:29 +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 selftests: gpio: port to GPIO uAPI v2 2021-02-15 11:43:28 +01:00
Makefile selftests: gpio: fix gpio compiling error 2021-11-15 14:27:38 +01:00