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:   Wed, 16 Mar 2022 20:14:17 +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,
        "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
        Tony Luck <tony.luck@...el.com>,
        Dave Hansen <dave.hansen@...ux.intel.com>
Subject: [intel-tdx:guest-upstream 5/32] arch/x86/coco/tdx/tdx.c:29:6:
 warning: no previous prototype for '__tdx_hypercall_failed'

tree:   https://github.com/intel/tdx.git guest-upstream
head:   8e1641a390cef993022d8c7fcd7e212e06ba7cd3
commit: 3878b00acc0802659680a4f4ed957d30a364961b [5/32] x86/tdx: Add __tdx_module_call() and __tdx_hypercall() helper functions
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220316/202203162038.wMUgXWKE-lkp@intel.com/config)
compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0
reproduce (this is a W=1 build):
        # https://github.com/intel/tdx/commit/3878b00acc0802659680a4f4ed957d30a364961b
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx guest-upstream
        git checkout 3878b00acc0802659680a4f4ed957d30a364961b
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/coco/tdx/

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

All warnings (new ones prefixed by >>):

>> arch/x86/coco/tdx/tdx.c:29:6: warning: no previous prototype for '__tdx_hypercall_failed' [-Wmissing-prototypes]
      29 | void __tdx_hypercall_failed(void)
         |      ^~~~~~~~~~~~~~~~~~~~~~


vim +/__tdx_hypercall_failed +29 arch/x86/coco/tdx/tdx.c

    27	
    28	/* Called from __tdx_hypercall() for unrecoverable failure */
  > 29	void __tdx_hypercall_failed(void)

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

Powered by blists - more mailing lists