[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202109020620.e6EZVLvS-lkp@intel.com>
Date: Thu, 2 Sep 2021 06:22:29 +0800
From: kernel test robot <lkp@...el.com>
To: Peter Xu <peterx@...hat.com>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org, Paolo Bonzini <pbonzini@...hat.com>,
Lei Cao <lei.cao@...atus.com>
Subject: arch/x86/kvm/../../../virt/kvm/dirty_ring.c:94:20: error: unused
function 'kvm_dirty_gfn_invalid'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 477f70cd2a67904e04c2c2b9bd0fa2e95222f2f6
commit: fb04a1eddb1a65b6588a021bdc132270d5ae48bb KVM: X86: Implement ring-based dirty memory tracking
date: 10 months ago
config: i386-randconfig-r005-20210901 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b1fde8a2b681dad2ce0c082a5d6422caa06b0bc)
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/torvalds/linux.git/commit/?id=fb04a1eddb1a65b6588a021bdc132270d5ae48bb
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout fb04a1eddb1a65b6588a021bdc132270d5ae48bb
# 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@...el.com>
All errors (new ones prefixed by >>):
>> arch/x86/kvm/../../../virt/kvm/dirty_ring.c:94:20: error: unused function 'kvm_dirty_gfn_invalid' [-Werror,-Wunused-function]
static inline bool kvm_dirty_gfn_invalid(struct kvm_dirty_gfn *gfn)
^
1 error generated.
vim +/kvm_dirty_gfn_invalid +94 arch/x86/kvm/../../../virt/kvm/dirty_ring.c
93
> 94 static inline bool kvm_dirty_gfn_invalid(struct kvm_dirty_gfn *gfn)
95 {
96 return gfn->flags == 0;
97 }
98
---
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" (35872 bytes)
Powered by blists - more mailing lists