lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201606131854.KIdE7pkX%fengguang.wu@intel.com>
Date:	Mon, 13 Jun 2016 18:17:02 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Liang Li <liang.z.li@...el.com>
Cc:	kbuild-all@...org, kvm@...r.kernel.org,
	virtio-dev@...ts.oasis-open.org, qemu-devel@...gun.org,
	linux-kernel@...r.kernel.org, mst@...hat.com,
	Liang Li <liang.z.li@...el.com>,
	Paolo Bonzini <pbonzini@...hat.com>,
	Cornelia Huck <cornelia.huck@...ibm.com>,
	Amit Shah <amit.shah@...hat.com>
Subject: Re: [PATCH 2/6] virtio-balloon: speed up inflate/deflate process

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

Download attachment ".config.gz" of type "application/octet-stream" (37193 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ