All of lore.kernel.org
 help / color / mirror / Atom feed
* [kas:kvm-unmapped-poison 7/7] arch/x86/kvm/mmu/mmu.c:3697:7: warning: variable 'unmapped' set but not used
@ 2021-03-12 19:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-12 19:16 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git kvm-unmapped-poison
head:   51d4d402256b9c1b8e38be95bfa2bb28dc8189ad
commit: 51d4d402256b9c1b8e38be95bfa2bb28dc8189ad [7/7] KVM: unmap guest memory with poison
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://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git/commit/?id=51d4d402256b9c1b8e38be95bfa2bb28dc8189ad
        git remote add kas https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git
        git fetch --no-tags kas kvm-unmapped-poison
        git checkout 51d4d402256b9c1b8e38be95bfa2bb28dc8189ad
        # save the attached .config to linux build tree
        make W=1 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: In function 'unmap_page':
>> arch/x86/kvm/mmu/mmu.c:3697:7: warning: variable 'unmapped' set but not used [-Wunused-but-set-variable]
    3697 |  bool unmapped;
         |       ^~~~~~~~


vim +/unmapped +3697 arch/x86/kvm/mmu/mmu.c

  3694	
  3695	static void unmap_page(struct page *page, gfn_t gfn)
  3696	{
> 3697		bool unmapped;
  3698	
  3699		if (gfn_is_shared(gfn))
  3700			return;
  3701	
  3702		if (TestSetPageHWPoison(page))
  3703			return;
  3704		get_page(page);
  3705		unmapped = try_to_unmap(page, TTU_IGNORE_MLOCK);
  3706	}
  3707	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 64326 bytes --]

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

only message in thread, other threads:[~2021-03-12 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-12 19:16 [kas:kvm-unmapped-poison 7/7] arch/x86/kvm/mmu/mmu.c:3697:7: warning: variable 'unmapped' set but not used kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.