Re: [PATCH v2 01/24] drivers: hv: dxgkrnl: Driver initialization and creation of dxgadapter

From: kernel test robot
Date: Sat Feb 05 2022 - 04:15:26 EST


Hi Iouri,

I love your patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.17-rc2 next-20220204]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Iouri-Tarassov/Driver-for-Hyper-v-virtual-compute-device/20220205-103726
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0457e5153e0e8420134f60921349099e907264ca
config: x86_64-randconfig-a011-20220131 (https://download.01.org/0day-ci/archive/20220205/202202051759.oGUDauQC-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 78c6b90000292eb37aac5dead6ab26611cd76f42)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/7a6280c6fb18da7243d3de07abe09b4c3d1938e2
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Iouri-Tarassov/Driver-for-Hyper-v-virtual-compute-device/20220205-103726
git checkout 7a6280c6fb18da7243d3de07abe09b4c3d1938e2
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

In file included from <built-in>:1:
>> ./usr/include/misc/d3dkmthk.h:25:4: error: unknown type name '__u32'
__u32 instance : 6;
^
./usr/include/misc/d3dkmthk.h:26:4: error: unknown type name '__u32'
__u32 index : 24;
^
./usr/include/misc/d3dkmthk.h:27:4: error: unknown type name '__u32'
__u32 unique : 2;
^
./usr/include/misc/d3dkmthk.h:29:3: error: unknown type name '__u32'
__u32 v;
^
./usr/include/misc/d3dkmthk.h:53:2: error: unknown type name '__u32'
__u32 a;
^
./usr/include/misc/d3dkmthk.h:54:2: error: unknown type name '__u32'
__u32 b;
^
./usr/include/misc/d3dkmthk.h:70:2: error: unknown type name '__u32'
__u32 num_sources;
^
./usr/include/misc/d3dkmthk.h:71:2: error: unknown type name '__u32'
__u32 present_move_regions_preferred;
^
./usr/include/misc/d3dkmthk.h:75:2: error: unknown type name '__u32'
__u32 num_adapters;
^
./usr/include/misc/d3dkmthk.h:76:2: error: unknown type name '__u32'
__u32 reserved;
^
>> ./usr/include/misc/d3dkmthk.h:77:2: error: unknown type name '__u64'
__u64 *adapters;
^
./usr/include/misc/d3dkmthk.h:93:4: error: unknown type name '__u32'
__u32 write_operation :1;
^
./usr/include/misc/d3dkmthk.h:94:4: error: unknown type name '__u32'
__u32 do_not_retire_instance :1;
^
./usr/include/misc/d3dkmthk.h:95:4: error: unknown type name '__u32'
__u32 offer_priority :3;
^
./usr/include/misc/d3dkmthk.h:96:4: error: unknown type name '__u32'
__u32 reserved :27;
^
./usr/include/misc/d3dkmthk.h:98:3: error: unknown type name '__u32'
__u32 value;
^
./usr/include/misc/d3dkmthk.h:103:2: error: unknown type name '__u32'
__u32 allocation_index;
^
./usr/include/misc/d3dkmthk.h:106:4: error: unknown type name '__u32'
__u32 slot_id:24;
^
./usr/include/misc/d3dkmthk.h:107:4: error: unknown type name '__u32'
__u32 reserved:8;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx