All of lore.kernel.org
 help / color / mirror / Atom feed
* [intel-tdx:guest 72/127] arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device'
@ 2021-09-01 20:31 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-09-01 20:31 UTC (permalink / raw)
  To: Kuppuswamy Sathyanarayanan; +Cc: llvm, kbuild-all, linux-kernel, Andi Kleen

[-- Attachment #1: Type: text/plain, Size: 3332 bytes --]

tree:   https://github.com/intel/tdx.git guest
head:   f334091e36418261da05ae75766873b161868d90
commit: 7c942333d3f0cea8f9d3ab9374b115fd66b5a230 [72/127] x86/tdx: Add device filter support for x86 TDX guest platform
config: i386-randconfig-a016-20210831 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b1fde8a2b681dad2ce0c082a5d6422caa06b0bc)
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/intel/tdx/commit/7c942333d3f0cea8f9d3ab9374b115fd66b5a230
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout 7c942333d3f0cea8f9d3ab9374b115fd66b5a230
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   In file included from arch/x86/kernel/kvm.c:14:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/x86/include/asm/io.h:43:
   include/linux/protected_guest.h:54:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   In file included from arch/x86/kernel/kvm.c:16:
   In file included from include/linux/kvm_para.h:5:
   In file included from include/uapi/linux/kvm_para.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:7:
>> arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   2 errors generated.
--
   In file included from arch/x86/kernel/cpu/hypervisor.c:27:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:7:
>> arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   In file included from arch/x86/kernel/cpu/hypervisor.c:27:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:9:
   include/linux/protected_guest.h:54:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   2 errors generated.


vim +177 arch/x86/include/asm/tdx.h

   174	
   175	static inline bool tdx_guest_authorized(struct device *dev, char *dev_str)
   176	{
 > 177		return dev->authorized;
   178	}
   179	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34778 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [intel-tdx:guest 72/127] arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device'
@ 2021-09-01 20:31 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-09-01 20:31 UTC (permalink / raw)
  To: Kuppuswamy Sathyanarayanan; +Cc: llvm, kbuild-all, linux-kernel, Andi Kleen

[-- Attachment #1: Type: text/plain, Size: 3332 bytes --]

tree:   https://github.com/intel/tdx.git guest
head:   f334091e36418261da05ae75766873b161868d90
commit: 7c942333d3f0cea8f9d3ab9374b115fd66b5a230 [72/127] x86/tdx: Add device filter support for x86 TDX guest platform
config: i386-randconfig-a016-20210831 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b1fde8a2b681dad2ce0c082a5d6422caa06b0bc)
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/intel/tdx/commit/7c942333d3f0cea8f9d3ab9374b115fd66b5a230
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout 7c942333d3f0cea8f9d3ab9374b115fd66b5a230
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   In file included from arch/x86/kernel/kvm.c:14:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/x86/include/asm/io.h:43:
   include/linux/protected_guest.h:54:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   In file included from arch/x86/kernel/kvm.c:16:
   In file included from include/linux/kvm_para.h:5:
   In file included from include/uapi/linux/kvm_para.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:7:
>> arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   2 errors generated.
--
   In file included from arch/x86/kernel/cpu/hypervisor.c:27:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:7:
>> arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   In file included from arch/x86/kernel/cpu/hypervisor.c:27:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:9:
   include/linux/protected_guest.h:54:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   2 errors generated.


vim +177 arch/x86/include/asm/tdx.h

   174	
   175	static inline bool tdx_guest_authorized(struct device *dev, char *dev_str)
   176	{
 > 177		return dev->authorized;
   178	}
   179	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34778 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [intel-tdx:guest 72/127] arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device'
@ 2021-09-01 20:31 ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-09-01 20:31 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3410 bytes --]

tree:   https://github.com/intel/tdx.git guest
head:   f334091e36418261da05ae75766873b161868d90
commit: 7c942333d3f0cea8f9d3ab9374b115fd66b5a230 [72/127] x86/tdx: Add device filter support for x86 TDX guest platform
config: i386-randconfig-a016-20210831 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b1fde8a2b681dad2ce0c082a5d6422caa06b0bc)
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/intel/tdx/commit/7c942333d3f0cea8f9d3ab9374b115fd66b5a230
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout 7c942333d3f0cea8f9d3ab9374b115fd66b5a230
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=i386 SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   In file included from arch/x86/kernel/kvm.c:14:
   In file included from include/linux/irq.h:20:
   In file included from include/linux/io.h:13:
   In file included from arch/x86/include/asm/io.h:43:
   include/linux/protected_guest.h:54:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   In file included from arch/x86/kernel/kvm.c:16:
   In file included from include/linux/kvm_para.h:5:
   In file included from include/uapi/linux/kvm_para.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:7:
>> arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   2 errors generated.
--
   In file included from arch/x86/kernel/cpu/hypervisor.c:27:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:7:
>> arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   In file included from arch/x86/kernel/cpu/hypervisor.c:27:
   In file included from arch/x86/include/asm/hypervisor.h:37:
   In file included from arch/x86/include/asm/kvm_para.h:9:
   include/linux/protected_guest.h:54:12: error: incomplete definition of type 'struct device'
           return dev->authorized;
                  ~~~^
   include/linux/bitmap.h:13:8: note: forward declaration of 'struct device'
   struct device;
          ^
   2 errors generated.


vim +177 arch/x86/include/asm/tdx.h

   174	
   175	static inline bool tdx_guest_authorized(struct device *dev, char *dev_str)
   176	{
 > 177		return dev->authorized;
   178	}
   179	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34778 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-01 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 20:31 [intel-tdx:guest 72/127] arch/x86/include/asm/tdx.h:177:12: error: incomplete definition of type 'struct device' kernel test robot
2021-09-01 20:31 ` kernel test robot
2021-09-01 20:31 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.