[xlnx:xlnx_rebase_v5.4 874/1757] include/uapi/linux/xlnx_mpg2tsmux_interface.h:57:2: error: unknown type name 'u8'

kernel test robot lkp at intel.com
Thu May 13 21:14:01 PDT 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   f09edce8c39b74223461bf2175649535ebe8b213
commit: bf43a837d149dc4c51971b8698aabcbf7961d930 [874/1757] staging: xlnx_tsmux: Initial version of xlnx mpeg2tsmux driver
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/Xilinx/linux-xlnx/commit/bf43a837d149dc4c51971b8698aabcbf7961d930
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout bf43a837d149dc4c51971b8698aabcbf7961d930
        # save the attached .config to linux build tree
        make W=1 W=1 ARCH=um 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   cc1: warning: arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
   In file included from <command-line>:
>> include/uapi/linux/xlnx_mpg2tsmux_interface.h:57:2: error: unknown type name 'u8'
      57 |  u8 stream_id;
         |  ^~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:58:2: error: unknown type name 'u8'
      58 |  u8 extended_stream_id;
         |  ^~
>> include/uapi/linux/xlnx_mpg2tsmux_interface.h:59:2: error: unknown type name 'bool'
      59 |  bool is_pcr_stream;
         |  ^~~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:60:2: error: unknown type name 'bool'
      60 |  bool is_valid_pts;
         |  ^~~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:61:2: error: unknown type name 'bool'
      61 |  bool is_valid_dts;
         |  ^~~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:62:2: error: unknown type name 'bool'
      62 |  bool is_dmabuf;
         |  ^~~~
>> include/uapi/linux/xlnx_mpg2tsmux_interface.h:63:2: error: unknown type name 'u16'
      63 |  u16 pid;
         |  ^~~
>> include/uapi/linux/xlnx_mpg2tsmux_interface.h:64:2: error: unknown type name 'u64'
      64 |  u64 size_data_in;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:65:2: error: unknown type name 'u64'
      65 |  u64 pts;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:66:2: error: unknown type name 'u64'
      66 |  u64 dts;
         |  ^~~
>> include/uapi/linux/xlnx_mpg2tsmux_interface.h:67:2: error: unknown type name 'u32'
      67 |  u32 srcbuf_id;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:68:2: error: unknown type name 'bool'
      68 |  bool insert_pcr;
         |  ^~~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:69:2: error: unknown type name 'u16'
      69 |  u16 pcr_extension;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:70:2: error: unknown type name 'u64'
      70 |  u64 pcr_base;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:80:2: error: unknown type name 'bool'
      80 |  bool is_dmabuf;
         |  ^~~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:81:2: error: unknown type name 'u32'
      81 |  u32 dstbuf_id;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:82:2: error: unknown type name 'u32'
      82 |  u32 dmabuf_size;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:103:2: error: unknown type name 'u32'
     103 |  u32 num_buf;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:104:2: error: unknown type name 'u32'
     104 |  u32 buf_size;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:113:2: error: unknown type name 'u32'
     113 |  u32 buf_id;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:114:2: error: unknown type name 'u32'
     114 |  u32 buf_write;
         |  ^~~
   include/uapi/linux/xlnx_mpg2tsmux_interface.h:136:2: error: unknown type name 'u16'
     136 |  u16 pid;
         |  ^~~

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for UIO_DMEM_GENIRQ
   Depends on UIO && HAS_DMA
   Selected by
   - UIO_XILINX_AI_ENGINE && UIO


vim +/u8 +57 include/uapi/linux/xlnx_mpg2tsmux_interface.h

    36	
    37	/**
    38	 * struct stream_context_in - struct to enqueue a stream context descriptor
    39	 * @command: stream context type
    40	 * @stream_id: stream identification number
    41	 * @extended_stream_id: extended stream id
    42	 * @is_pcr_stream: flag for pcr stream
    43	 * @is_valid_pts: flag for valid pts
    44	 * @is_valid_dts: flag for valid dts
    45	 * @is_dmabuf: flag to set if external src buffer is DMA allocated
    46	 * @pid: packet id number
    47	 * @size_data_in: size in bytes of input buffer
    48	 * @pts: presentation time stamp
    49	 * @dts: display time stamp
    50	 * @srcbuf_id: source buffer id after mmap
    51	 * @insert_pcr: flag for inserting pcr in stream context
    52	 * @pcr_extension: pcr extension number
    53	 * @pcr_base: pcr base number
    54	 */
    55	struct stream_context_in {
    56		enum ts_mux_command command;
  > 57		u8 stream_id;
    58		u8 extended_stream_id;
  > 59		bool is_pcr_stream;
  > 60		bool is_valid_pts;
  > 61		bool is_valid_dts;
    62		bool is_dmabuf;
  > 63		u16 pid;
  > 64		u64 size_data_in;
    65		u64 pts;
    66		u64 dts;
  > 67		u32 srcbuf_id;
    68		bool insert_pcr;
    69		u16 pcr_extension;
    70		u64 pcr_base;
    71	};
    72	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 21947 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210514/8df5eb15/attachment-0001.gz>


More information about the linux-arm-kernel mailing list