[xlnx:xlnx_rebase_v5.4 179/1757] include/uapi/linux/zocl_ioctl.h:42:2: error: unknown type name 'uint64_t'

kernel test robot lkp at intel.com
Thu May 13 08:50:12 PDT 2021


Hi Umang,

FYI, the error/warning still remains.

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   f09edce8c39b74223461bf2175649535ebe8b213
commit: f4c3b72e2c97c5350214853d0e9fbd93e2cea071 [179/1757] drm: ZynQ OpenCL 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/f4c3b72e2c97c5350214853d0e9fbd93e2cea071
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout f4c3b72e2c97c5350214853d0e9fbd93e2cea071
        # 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/zocl_ioctl.h:42:2: error: unknown type name 'uint64_t'
      42 |  uint64_t size;
         |  ^~~~~~~~
>> include/uapi/linux/zocl_ioctl.h:43:2: error: unknown type name 'uint32_t'
      43 |  uint32_t handle;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:44:2: error: unknown type name 'uint32_t'
      44 |  uint32_t flags;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:48:2: error: unknown type name 'uint32_t'
      48 |  uint32_t handle;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:49:2: error: unknown type name 'uint32_t'
      49 |  uint32_t pad;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:50:2: error: unknown type name 'uint64_t'
      50 |  uint64_t offset;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:61:2: error: unknown type name 'uint32_t'
      61 |  uint32_t handle;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:63:2: error: unknown type name 'uint64_t'
      63 |  uint64_t offset;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:64:2: error: unknown type name 'uint64_t'
      64 |  uint64_t size;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:74:2: error: unknown type name 'uint32_t'
      74 |  uint32_t handle;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:75:2: error: unknown type name 'uint64_t'
      75 |  uint64_t size;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:76:2: error: unknown type name 'uint64_t'
      76 |  uint64_t paddr;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:88:2: error: unknown type name 'uint32_t'
      88 |  uint32_t handle;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:89:2: error: unknown type name 'uint32_t'
      89 |  uint32_t pad;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:90:2: error: unknown type name 'uint64_t'
      90 |  uint64_t offset;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:91:2: error: unknown type name 'uint64_t'
      91 |  uint64_t size;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:92:2: error: unknown type name 'uint64_t'
      92 |  uint64_t data_ptr;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:104:2: error: unknown type name 'uint32_t'
     104 |  uint32_t handle;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:105:2: error: unknown type name 'uint32_t'
     105 |  uint32_t pad;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:106:2: error: unknown type name 'uint64_t'
     106 |  uint64_t offset;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:107:2: error: unknown type name 'uint64_t'
     107 |  uint64_t size;
         |  ^~~~~~~~
   include/uapi/linux/zocl_ioctl.h:108:2: error: unknown type name 'uint64_t'
     108 |  uint64_t data_ptr;
         |  ^~~~~~~~

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 +/uint64_t +42 include/uapi/linux/zocl_ioctl.h

    40	
    41	struct drm_zocl_create_bo {
  > 42		uint64_t size;
  > 43		uint32_t handle;
    44		uint32_t flags;
    45	};
    46	

---
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/20210513/52d1fce5/attachment-0001.gz>


More information about the linux-arm-kernel mailing list