]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: gpio: fix gpio compiling error
authorLi Zhijian <lizhijian@cn.fujitsu.com>
Mon, 8 Nov 2021 01:28:49 +0000 (09:28 +0800)
committerBartosz Golaszewski <brgl@bgdev.pl>
Mon, 15 Nov 2021 13:27:38 +0000 (14:27 +0100)
commit7a2cd42c67840f89b07f2eac4b67640945c78577
treeba08b28a95b3d61cab9c382a400c8791a2d391fa
parente1aa2f9acd159e8487346300776d1fcdf958ec9a
selftests: gpio: fix gpio compiling error

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: c253516c89e5 ("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>
tools/testing/selftests/gpio/Makefile