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]
Date:   Thu, 28 Oct 2021 16:03:44 +0800
From:   kernel test robot <lkp@...el.com>
To:     Andi Kleen <ak@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Kuppuswamy Sathyanarayanan 
        <sathyanarayanan.kuppuswamy@...ux.intel.com>
Subject: [intel-tdx:guest 102/136] arch/x86/kernel/tdx.c:712:15: error: no
 previous prototype for 'tdx_mmio_readq'

tree:   https://github.com/intel/tdx.git guest
head:   12f4800ff5dbe89a642744796008f89f23b2e446
commit: c2b75088b70d45a8b98121cd1c4a4fa1380d4cf7 [102/136] x86/tdx: Enable direct iomap MMIO optimizations
config: x86_64-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/c2b75088b70d45a8b98121cd1c4a4fa1380d4cf7
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest
        git checkout c2b75088b70d45a8b98121cd1c4a4fa1380d4cf7
        # save the attached .config to linux build tree
        make W=1 ARCH=x86_64 

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 >>):

   arch/x86/kernel/tdx.c:267:5: error: no previous prototype for 'tdx_hcall_set_notify_intr' [-Werror=missing-prototypes]
     267 | int tdx_hcall_set_notify_intr(u8 vector)
         |     ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/x86/kernel/tdx.c:490:14: error: no previous prototype for 'tdx_write_msr' [-Werror=missing-prototypes]
     490 | void notrace tdx_write_msr(unsigned int msr, u32 low, u32 high)
         |              ^~~~~~~~~~~~~
>> arch/x86/kernel/tdx.c:712:15: error: no previous prototype for 'tdx_mmio_readq' [-Werror=missing-prototypes]
     712 | unsigned long tdx_mmio_readq(void __iomem *addr)
         |               ^~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/tdx_mmio_readq +712 arch/x86/kernel/tdx.c

   711	
 > 712	unsigned long tdx_mmio_readq(void __iomem *addr)
   713	{
   714		unsigned long val;
   715	
   716		if (tdx_virt_mmio(8, false, (unsigned long)addr, &val))
   717			return 0xffffffffffffffff;
   718		return val;
   719	}
   720	

---
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" (66468 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ