linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Zhuang Yanying <ann.zhuangyanying@huawei.com>
Cc: kbuild-all@01.org, ann.zhuangyanying@huawei.com,
	linfeng23@huawei.com, pbonzini@redhat.com,
	linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	weiqi4@huawei.com, weidong.huang@huawei.com
Subject: Re: [PATCH] KVM: fix overflow of zero page refcount with ksm running
Date: Sat, 12 Oct 2019 05:07:21 +0800	[thread overview]
Message-ID: <201910120435.59pHxFNs%lkp@intel.com> (raw)
In-Reply-To: <1570802177-21212-1-git-send-email-ann.zhuangyanying@huawei.com>

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

Hi Zhuang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on kvm/linux-next]
[cannot apply to v5.4-rc2 next-20191011]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Zhuang-Yanying/KVM-fix-overflow-of-zero-page-refcount-with-ksm-running/20191012-020811
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git linux-next
config: mips-malta_kvm_defconfig (attached as .config)
compiler: mipsel-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=mips 

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

All errors (new ones prefixed by >>):

   arch/mips/kvm/../../../virt/kvm/kvm_main.c: In function 'kvm_is_reserved_pfn':
>> arch/mips/kvm/../../../virt/kvm/kvm_main.c:155:23: error: 'page' undeclared (first use in this function)
      return PageReserved(page) && !is_zero_pfn(pfn);
                          ^~~~
   arch/mips/kvm/../../../virt/kvm/kvm_main.c:155:23: note: each undeclared identifier is reported only once for each function it appears in

vim +/page +155 arch/mips/kvm/../../../virt/kvm/kvm_main.c

   151	
   152	bool kvm_is_reserved_pfn(kvm_pfn_t pfn)
   153	{
   154		if (pfn_valid(pfn))
 > 155			return PageReserved(page) && !is_zero_pfn(pfn);
   156	
   157		return true;
   158	}
   159	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

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

      parent reply	other threads:[~2019-10-11 21:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-11 13:56 [PATCH] KVM: fix overflow of zero page refcount with ksm running Zhuang Yanying
2019-10-11 20:56 ` kbuild test robot
2019-10-11 21:07 ` kbuild test robot [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=201910120435.59pHxFNs%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ann.zhuangyanying@huawei.com \
    --cc=kbuild-all@01.org \
    --cc=kvm@vger.kernel.org \
    --cc=linfeng23@huawei.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    --cc=weidong.huang@huawei.com \
    --cc=weiqi4@huawei.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;
as well as URLs for NNTP newsgroup(s).