[xlnx:xlnx_rebase_v5.4 866/1757] include/uapi/linux/xlnxsync.h:45:2: error: unknown type name 'u64'

kernel test robot lkp at intel.com
Thu May 13 18:14:59 PDT 2021


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   f09edce8c39b74223461bf2175649535ebe8b213
commit: eb54271c78bf30f6c5acd4277f706b4b5a786055 [866/1757] staging: xlnxsync: Add driver for Xilinx Synchronizer
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/eb54271c78bf30f6c5acd4277f706b4b5a786055
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout eb54271c78bf30f6c5acd4277f706b4b5a786055
        # 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/xlnxsync.h:45:2: error: unknown type name 'u64'
      45 |  u64 hdr_ver;
         |  ^~~
   include/uapi/linux/xlnxsync.h:46:2: error: unknown type name 'u64'
      46 |  u64 luma_start_offset[XLNXSYNC_IO];
         |  ^~~
   include/uapi/linux/xlnxsync.h:47:2: error: unknown type name 'u64'
      47 |  u64 chroma_start_offset[XLNXSYNC_IO];
         |  ^~~
   include/uapi/linux/xlnxsync.h:48:2: error: unknown type name 'u64'
      48 |  u64 luma_end_offset[XLNXSYNC_IO];
         |  ^~~
   include/uapi/linux/xlnxsync.h:49:2: error: unknown type name 'u64'
      49 |  u64 chroma_end_offset[XLNXSYNC_IO];
         |  ^~~
>> include/uapi/linux/xlnxsync.h:50:2: error: unknown type name 'u32'
      50 |  u32 luma_margin;
         |  ^~~
   include/uapi/linux/xlnxsync.h:51:2: error: unknown type name 'u32'
      51 |  u32 chroma_margin;
         |  ^~~
   include/uapi/linux/xlnxsync.h:52:2: error: unknown type name 'u32'
      52 |  u32 luma_core_offset[XLNXSYNC_MAX_CORES];
         |  ^~~
   include/uapi/linux/xlnxsync.h:53:2: error: unknown type name 'u32'
      53 |  u32 chroma_core_offset[XLNXSYNC_MAX_CORES];
         |  ^~~
   include/uapi/linux/xlnxsync.h:54:2: error: unknown type name 'u32'
      54 |  u32 dma_fd;
         |  ^~~
>> include/uapi/linux/xlnxsync.h:55:2: error: unknown type name 'u8'
      55 |  u8 fb_id[XLNXSYNC_IO];
         |  ^~
   include/uapi/linux/xlnxsync.h:56:2: error: unknown type name 'u8'
      56 |  u8 ismono[XLNXSYNC_IO];
         |  ^~
   include/uapi/linux/xlnxsync.h:57:2: error: unknown type name 'u8'
      57 |  u8 channel_id;
         |  ^~
   include/uapi/linux/xlnxsync.h:70:2: error: unknown type name 'u64'
      70 |  u64 hdr_ver;
         |  ^~~
   include/uapi/linux/xlnxsync.h:71:2: error: unknown type name 'u8'
      71 |  u8 channel_id;
         |  ^~
   include/uapi/linux/xlnxsync.h:72:2: error: unknown type name 'u8'
      72 |  u8 sync_err;
         |  ^~
   include/uapi/linux/xlnxsync.h:73:2: error: unknown type name 'u8'
      73 |  u8 wdg_err;
         |  ^~
   include/uapi/linux/xlnxsync.h:74:2: error: unknown type name 'u8'
      74 |  u8 ldiff_err;
         |  ^~
   include/uapi/linux/xlnxsync.h:75:2: error: unknown type name 'u8'
      75 |  u8 cdiff_err;
         |  ^~
   include/uapi/linux/xlnxsync.h:84:2: error: unknown type name 'u64'
      84 |  u64 hdr_ver;
         |  ^~~
   include/uapi/linux/xlnxsync.h:85:2: error: unknown type name 'u8'
      85 |  u8 status[XLNXSYNC_MAX_ENC_CHAN][XLNXSYNC_BUF_PER_CHAN][XLNXSYNC_IO];
         |  ^~
   include/uapi/linux/xlnxsync.h:95:2: error: unknown type name 'u64'
      95 |  u64 hdr_ver;
         |  ^~~
   include/uapi/linux/xlnxsync.h:96:2: error: unknown type name 'u8'
      96 |  u8 encode;
         |  ^~
   include/uapi/linux/xlnxsync.h:97:2: error: unknown type name 'u8'
      97 |  u8 max_channels;
         |  ^~
   include/uapi/linux/xlnxsync.h:111:2: error: unknown type name 'u64'
     111 |  u64 hdr_ver;
         |  ^~~
   include/uapi/linux/xlnxsync.h:112:2: error: unknown type name 'u8'
     112 |  u8 fbdone[XLNXSYNC_MAX_ENC_CHAN][XLNXSYNC_BUF_PER_CHAN][XLNXSYNC_IO];
         |  ^~
   include/uapi/linux/xlnxsync.h:113:2: error: unknown type name 'u8'
     113 |  u8 enable[XLNXSYNC_MAX_ENC_CHAN];
         |  ^~
   include/uapi/linux/xlnxsync.h:114:2: error: unknown type name 'u8'
     114 |  u8 sync_err[XLNXSYNC_MAX_ENC_CHAN];
         |  ^~
   include/uapi/linux/xlnxsync.h:115:2: error: unknown type name 'u8'
     115 |  u8 wdg_err[XLNXSYNC_MAX_ENC_CHAN];
         |  ^~
   include/uapi/linux/xlnxsync.h:116:2: error: unknown type name 'u8'
     116 |  u8 ldiff_err[XLNXSYNC_MAX_ENC_CHAN];
         |  ^~
   include/uapi/linux/xlnxsync.h:117:2: error: unknown type name 'u8'
     117 |  u8 cdiff_err[XLNXSYNC_MAX_ENC_CHAN];
         |  ^~

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 +/u64 +45 include/uapi/linux/xlnxsync.h

    22	
    23	#define XLNXSYNC_MAX_CORES		4
    24	/**
    25	 * struct xlnxsync_chan_config - Synchronizer channel configuration struct
    26	 * @hdr_ver: IOCTL header version
    27	 * @luma_start_offset: Start offset of Luma buffer
    28	 * @chroma_start_offset: Start offset of Chroma buffer
    29	 * @luma_end_offset: End offset of Luma buffer
    30	 * @chroma_end_offset: End offset of Chroma buffer
    31	 * @luma_margin: Margin for Luma buffer
    32	 * @chroma_margin: Margin for Chroma buffer
    33	 * @luma_core_offset: Array of 4 offsets for luma
    34	 * @chroma_core_offset: Array of 4 offsets for chroma
    35	 * @dma_fd: File descriptor of dma
    36	 * @fb_id: Framebuffer index. Valid values 0/1/2/XLNXSYNC_AUTO_SEARCH
    37	 * @ismono: Flag to indicate if buffer is Luma only.
    38	 * @channel_id: Channel index to be configured.
    39	 * Valid 0..3 & XLNXSYNC_AUTO_SEARCH
    40	 *
    41	 * This structure contains the configuration for monitoring a particular
    42	 * framebuffer on a particular channel.
    43	 */
    44	struct xlnxsync_chan_config {
  > 45		u64 hdr_ver;
    46		u64 luma_start_offset[XLNXSYNC_IO];
  > 47		u64 chroma_start_offset[XLNXSYNC_IO];
    48		u64 luma_end_offset[XLNXSYNC_IO];
    49		u64 chroma_end_offset[XLNXSYNC_IO];
  > 50		u32 luma_margin;
    51		u32 chroma_margin;
  > 52		u32 luma_core_offset[XLNXSYNC_MAX_CORES];
    53		u32 chroma_core_offset[XLNXSYNC_MAX_CORES];
    54		u32 dma_fd;
  > 55		u8 fb_id[XLNXSYNC_IO];
    56		u8 ismono[XLNXSYNC_IO];
    57		u8 channel_id;
    58	};
    59	

---
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: 21928 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210514/7321162d/attachment-0001.gz>


More information about the linux-arm-kernel mailing list