diff options
author | Jason Liu <jason.hui.liu@nxp.com> | 2020-10-09 11:54:46 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2020-11-17 15:09:21 +0800 |
commit | 586d6d4a3c3fa0ddb1b1aa1491a5f83a1e336c42 (patch) | |
tree | f59369eeb315d11717bd0dccbf191f79a1d2c2dd /usr | |
parent | c7a21c04488085b3311a45cd2d76010a7d556a72 (diff) |
MLK-24874-4: include: uapi: tsn: fix the UAPI_HEADER_TEST failure
Enable CONFIG_UAPI_HEADER_TEST turns out the following build issues:
HDRTEST usr/include/linux/tsn.h
In file included from <command-line>:32:0:
./usr/include/linux/tsn.h:384:2: error: unknown type name ‘__u8’
__u8 admin_state;
^~~~
./usr/include/linux/tsn.h:390:2: error: unknown type name ‘__u32’
__u32 hold_advance;
^~~~~
./usr/include/linux/tsn.h:397:2: error: unknown type name ‘__u32’
__u32 release_advance;
^~~~~
./usr/include/linux/tsn.h:403:2: error: unknown type name ‘__u8’
__u8 preemption_active;
^~~~
./usr/include/linux/tsn.h:412:2: error: unknown type name ‘__u8’
__u8 hold_request;
^~~~
./usr/include/linux/tsn.h:426:2: error: unknown type name ‘__u8’
__u8 delta_bw; /* percentage, 0~100 */
^~~~
./usr/include/linux/tsn.h:427:2: error: unknown type name ‘__u32’
__u32 idleslope;
^~~~~
./usr/include/linux/tsn.h:428:2: error: unknown type name ‘__s32’
__s32 sendslope;
^~~~~
./usr/include/linux/tsn.h:429:2: error: unknown type name ‘__u32’
__u32 maxframesize;
^~~~~
The fix is to add the necessary header file into the tsn.h file
Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
(cherry picked from commit 328bf99d8b42aca38538b6122878c7a9da9234d0)
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions