Skip to content
Commit 55f9933c authored by Quanyang Wang's avatar Quanyang Wang Committed by Bruce Ashfield
Browse files

kbuild: add xilinx-sdirxss.h/xilinx-hls.h/xilinx-v4l2-events.h to no-header-test



When enabling CONFIG_UAPI_HEADER_TEST, there will be compile error as
below:

In file included from ./usr/include/linux/xilinx-sdirxss.h:7,
                 from <command-line>:32:
./usr/include/linux/videodev2.h:2418:20: error: field ‘timestamp’ has incomplete type
 2418 |  struct timespecx  timestamp;
      |                    ^~~~~~~~~

This is because that xilinx-sdirxss.h/xilinx-hls.h/xilinx-v4l2-events.h
include "videodev2.h" which includes "sys/timer.h". Just as what said in
commit d6fc9fcb ("kbuild: compile-test exported headers to ensure
they are self-contained"), these headers will result header-test failure
for some compilers. So let's add these 3 header to no-header-test list
just like other headers which include "videodev2.h"

Signed-off-by: default avatarQuanyang Wang <quanyang.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 72fb25ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment