From: Peter Xu <peterx@redhat.com>
To: kernel test robot <lkp@intel.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org, Paolo Bonzini <pbonzini@redhat.com>,
Lei Cao <lei.cao@stratus.com>
Subject: Re: arch/x86/kvm/../../../virt/kvm/dirty_ring.c:94:20: error: unused function 'kvm_dirty_gfn_invalid'
Date: Wed, 1 Sep 2021 19:12:36 -0400 [thread overview]
Message-ID: <YTAI5NE6MZ+J+5oM@t490s> (raw)
In-Reply-To: <202109020620.e6EZVLvS-lkp@intel.com>
On Thu, Sep 02, 2021 at 06:22:29AM +0800, kernel test robot wrote:
> 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@intel.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
https://lore.kernel.org/lkml/20210901230904.15164-1-peterx@redhat.com
Thanks,
--
Peter Xu
prev parent reply other threads:[~2021-09-01 23:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-01 22:22 arch/x86/kvm/../../../virt/kvm/dirty_ring.c:94:20: error: unused function 'kvm_dirty_gfn_invalid' kernel test robot
2021-09-01 23:12 ` Peter Xu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YTAI5NE6MZ+J+5oM@t490s \
--to=peterx@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=lei.cao@stratus.com \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=pbonzini@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox