linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 8854/9522] arch/x86/kvm/mmu/mmu.c:3641:1: warning: unused label 'err_pml5'
@ 2021-08-20 17:26 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-20 17:26 UTC (permalink / raw)
  To: Wei Huang
  Cc: clang-built-linux, kbuild-all, Linux Memory Management List,
	Paolo Bonzini

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   86ed57fd8c93fdfaabb4f58e78455180fa7d8a84
commit: 0b957702769ec28fc54afbba8f08e12cd94904f4 [8854/9522] KVM: x86/mmu: Support shadowing NPT when 5-level paging is enabled in host
config: i386-randconfig-r026-20210820 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d9c5613e856cf2addfbf892fc4c1ce9ef9feceaa)
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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=0b957702769ec28fc54afbba8f08e12cd94904f4
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 0b957702769ec28fc54afbba8f08e12cd94904f4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 

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

All warnings (new ones prefixed by >>):

>> arch/x86/kvm/mmu/mmu.c:3641:1: warning: unused label 'err_pml5' [-Wunused-label]
   err_pml5:
   ^~~~~~~~~
>> arch/x86/kvm/mmu/mmu.c:3643:1: warning: unused label 'err_pml4' [-Wunused-label]
   err_pml4:
   ^~~~~~~~~
   arch/x86/kvm/mmu/mmu.c:240:1: warning: unused function 'is_cr4_la57' [-Wunused-function]
   BUILD_MMU_ROLE_ACCESSOR(ext,  cr4, la57);
   ^
   arch/x86/kvm/mmu/mmu.c:229:20: note: expanded from macro 'BUILD_MMU_ROLE_ACCESSOR'
   static inline bool is_##reg##_##name(struct kvm_mmu *mmu)       \
                      ^
   <scratch space>:90:1: note: expanded from here
   is_cr4_la57
   ^
   3 warnings generated.


vim +/err_pml5 +3641 arch/x86/kvm/mmu/mmu.c

  3635	
  3636		mmu->pae_root = pae_root;
  3637		mmu->pml4_root = pml4_root;
  3638		mmu->pml5_root = pml5_root;
  3639	
  3640		return 0;
> 3641	err_pml5:
  3642		free_page((unsigned long)pml4_root);
> 3643	err_pml4:
  3644		free_page((unsigned long)pae_root);
  3645		return -ENOMEM;
  3646	}
  3647	

---
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: 34887 bytes --]

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

only message in thread, other threads:[~2021-08-20 17:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-20 17:26 [linux-next:master 8854/9522] arch/x86/kvm/mmu/mmu.c:3641:1: warning: unused label 'err_pml5' 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).