WSL2-Linux-Kernel/tools/testing/selftests/gpio
Li Zhijian aa67407ebb selftests: gpio: fix gpio compiling error
[ Upstream commit 92a59d7f38 ]

The gpio selftests build against the system includes rather than the
headers from the linux tree.  This results in the compile failing if
the system includes are outdated.

Prefer the headers from the linux tree, as per other selftests.

Fixes: 8bc395a6a2 ("selftests: gpio: rework and simplify test implementation")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
[Kent: reworded commit comment and added Fixes:]
Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-25 09:48:34 +01:00
..
.gitignore selftests: gpio: update .gitignore 2021-03-08 11:59:16 +01:00
Makefile selftests: gpio: fix gpio compiling error 2021-11-25 09:48:34 +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: port to GPIO uAPI v2 2021-02-15 11:43:28 +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