linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Liang Li <liang.z.li@intel.com>
Cc: kbuild-all@01.org, kvm@vger.kernel.org,
	virtio-dev@lists.oasis-open.org, qemu-devel@nongun.org,
	linux-kernel@vger.kernel.org, mst@redhat.com,
	Liang Li <liang.z.li@intel.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Cornelia Huck <cornelia.huck@de.ibm.com>,
	Amit Shah <amit.shah@redhat.com>
Subject: Re: [PATCH 2/6] virtio-balloon: speed up inflate/deflate process
Date: Mon, 13 Jun 2016 18:17:02 +0800	[thread overview]
Message-ID: <201606131854.KIdE7pkX%fengguang.wu@intel.com> (raw)
In-Reply-To: <1465811233-21136-3-git-send-email-liang.z.li@intel.com>

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

Hi,

[auto build test WARNING on v4.7-rc3]
[cannot apply to next-20160609]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Liang-Li/Fast-balloon-fast-live-migration/20160613-175812
config: m68k-allyesconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All warnings (new ones prefixed by >>):

   drivers/virtio/virtio_balloon.c: In function 'init_pfn_range':
>> drivers/virtio/virtio_balloon.c:123:2: warning: left shift count >= width of type
     vb->min_pfn = (1UL << 48);
     ^

vim +123 drivers/virtio/virtio_balloon.c

   107		unsigned long pfn = page_to_pfn(page);
   108	
   109		BUILD_BUG_ON(PAGE_SHIFT < VIRTIO_BALLOON_PFN_SHIFT);
   110		/* Convert pfn from Linux page size to balloon page size. */
   111		return pfn * VIRTIO_BALLOON_PAGES_PER_PAGE;
   112	}
   113	
   114	static void balloon_ack(struct virtqueue *vq)
   115	{
   116		struct virtio_balloon *vb = vq->vdev->priv;
   117	
   118		wake_up(&vb->acked);
   119	}
   120	
   121	static inline void init_pfn_range(struct virtio_balloon *vb)
   122	{
 > 123		vb->min_pfn = (1UL << 48);
   124		vb->max_pfn = 0;
   125	}
   126	
   127	static inline void update_pfn_range(struct virtio_balloon *vb,
   128					 struct page *page)
   129	{
   130		unsigned long balloon_pfn = page_to_balloon_pfn(page);
   131	

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 37193 bytes --]

  reply	other threads:[~2016-06-13 10:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13  9:47 [PATCH 0/6] Fast balloon & fast live migration Liang Li
2016-06-13  9:47 ` [PATCH 1/6] virtio-balloon: rework deflate to add page to a list Liang Li
2016-06-23  8:25   ` Li, Liang Z
2016-06-23  8:30   ` Li, Liang Z
2016-06-13  9:47 ` [PATCH 2/6] virtio-balloon: speed up inflate/deflate process Liang Li
2016-06-13 10:17   ` kbuild test robot [this message]
2016-06-24  5:39   ` Michael S. Tsirkin
2016-06-24  6:28     ` Li, Liang Z
2016-06-13  9:47 ` [PATCH 3/6] mm:split the drop cache operation into a function Liang Li
2016-06-13  9:47 ` [PATCH 4/6] virtio-balloon: add drop cache support Liang Li
2016-06-13  9:47 ` [PATCH 5/6] mm: add the related functions to get free page info Liang Li
2016-06-13  9:47 ` [PATCH 6/6] virtio-balloon: tell host vm's " Liang Li
2016-06-23  8:27 ` [PATCH 0/6] Fast balloon & fast live migration Li, Liang Z

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=201606131854.KIdE7pkX%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=amit.shah@redhat.com \
    --cc=cornelia.huck@de.ibm.com \
    --cc=kbuild-all@01.org \
    --cc=kvm@vger.kernel.org \
    --cc=liang.z.li@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongun.org \
    --cc=virtio-dev@lists.oasis-open.org \
    /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).