lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108271952.XmEUMaRE-lkp@intel.com>
Date:   Fri, 27 Aug 2021 19:20:57 +0800
From:   kernel test robot <lkp@...el.com>
To:     Kuppuswamy Sathyanarayanan 
        <sathyanarayanan.kuppuswamy@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Andi Kleen <ak@...ux.intel.com>
Subject: [intel-tdx:guest 72/113] arch/x86/include/asm/tdx.h:185:12: error:
 dereferencing pointer to incomplete type 'struct device'

tree:   https://github.com/intel/tdx.git guest
head:   44e41606b85b08fad5378c876547f8557f835cf6
commit: 3ccbeb49c9e01c731e46e8238cd8851be8365c15 [72/113] x86/tdx: Add device filter support for x86 TDX guest platform
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/intel/tdx/commit/3ccbeb49c9e01c731e46e8238cd8851be8365c15
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout 3ccbeb49c9e01c731e46e8238cd8851be8365c15
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/

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

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/kvm_para.h:7,
                    from include/uapi/linux/kvm_para.h:37,
                    from include/linux/kvm_para.h:5,
                    from include/linux/kvm_host.h:35,
                    from arch/x86/kvm/../../../virt/kvm/kvm_main.c:18:
   arch/x86/include/asm/tdx.h: In function 'tdx_guest_authorized':
>> arch/x86/include/asm/tdx.h:185:12: error: dereferencing pointer to incomplete type 'struct device'
     185 |  return dev->authorized;
         |            ^~


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

   182	
   183	static inline bool tdx_guest_authorized(struct device *dev, char *dev_str)
   184	{
 > 185		return dev->authorized;
   186	}
   187	

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

Download attachment ".config.gz" of type "application/gzip" (65142 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ