oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [intel-tdx:kvm-upstream-workaround 325/325] arch/s390/kvm/../../../virt/kvm/kvm_main.c:2117:12: warning: no previous prototype for 'kvm_arch_required_alignment'
@ 2023-03-23  8:47 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-03-23  8:47 UTC (permalink / raw)
  To: Isaku Yamahata; +Cc: oe-kbuild-all

tree:   https://github.com/intel/tdx.git kvm-upstream-workaround
head:   2a4df90769b13103056558d83a28e6ebca4ba2ee
commit: 2a4df90769b13103056558d83a28e6ebca4ba2ee [325/325] KVM: Relax alignment check for restricted mem
config: s390-defconfig (https://download.01.org/0day-ci/archive/20230323/202303231603.zXqjdSR8-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 12.1.0
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/2a4df90769b13103056558d83a28e6ebca4ba2ee
        git remote add intel-tdx https://github.com/intel/tdx.git
        git fetch --no-tags intel-tdx kvm-upstream-workaround
        git checkout 2a4df90769b13103056558d83a28e6ebca4ba2ee
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303231603.zXqjdSR8-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

>> arch/s390/kvm/../../../virt/kvm/kvm_main.c:2117:12: warning: no previous prototype for 'kvm_arch_required_alignment' [-Wmissing-prototypes]
    2117 | __weak int kvm_arch_required_alignment(u64 gpa)
         |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   arch/s390/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_arch_required_alignment':
>> arch/s390/kvm/../../../virt/kvm/kvm_main.c:2120:1: error: expected ';' before '}' token
    2120 | }
         | ^


vim +/kvm_arch_required_alignment +2117 arch/s390/kvm/../../../virt/kvm/kvm_main.c

  2115	
  2116	#ifndef kvm_arch_required_alignment
> 2117	__weak int kvm_arch_required_alignment(u64 gpa)
  2118	{
  2119		return PAGE_SHIFT
> 2120	}
  2121	#endif
  2122	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-23  8:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23  8:47 [intel-tdx:kvm-upstream-workaround 325/325] arch/s390/kvm/../../../virt/kvm/kvm_main.c:2117:12: warning: no previous prototype for 'kvm_arch_required_alignment' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).