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: <201512101441.xyucBXoj%fengguang.wu@intel.com>
Date:	Thu, 10 Dec 2015 14:05:44 +0800
From:	kbuild test robot <lkp@...el.com>
To:	jakeo@...rosoft.com
Cc:	kbuild-all@...org, gregkh@...uxfoundation.org, kys@...rosoft.com,
	linux-kernel@...r.kernel.org, devel@...uxdriverproject.org,
	olaf@...fle.de, apw@...onical.com, vkuznets@...hat.com,
	tglx@...utronix.de, haiyangz@...rosoft.com, marc.zyngier@....com,
	bhelgaas@...gle.com, linux-pci@...r.kernel.org,
	Jake Oshins <jakeo@...rosoft.com>
Subject: Re: [PATCH v9 7/7] PCI: hv: New paravirtual PCI front-end for
 Hyper-V VMs

Hi Jake,

[auto build test WARNING on pci/next]
[also build test WARNING on v4.4-rc4 next-20151209]

url:    https://github.com/0day-ci/linux/commits/jakeo-microsoft-com/PCI-hv-New-paravirtual-PCI-front-end-for-Hyper-V-VMs/20151210-070027
base:   https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next
config: x86_64-allmodconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   include/linux/compiler.h:228:8: sparse: attribute 'no_sanitize_address': unknown attribute
   drivers/pci/host/hv_pcifront.c: In function 'hv_pci_allocate_bridge_windows':
>> drivers/pci/host/hv_pcifront.c:1776:18: warning: unused variable 'length' [-Wunused-variable]
     resource_size_t length;
                     ^

vim +/length +1776 drivers/pci/host/hv_pcifront.c

  1760			hbus->high_mmio_res->flags |= IORESOURCE_BUSY;
  1761			release_mem_region(hbus->high_mmio_res->start,
  1762					   resource_size(hbus->high_mmio_res));
  1763		}
  1764	}
  1765	
  1766	/**
  1767	 * hv_pci_allocate_bridge_windows() - Allocate memory regions
  1768	 * for the bus
  1769	 * @hbus:	Root PCI bus, as understood by this driver
  1770	 *
  1771	 * Return: 0 on success, -errno on failure
  1772	 */
  1773	static int hv_pci_allocate_bridge_windows(struct hv_pcibus_device *hbus)
  1774	{
  1775		resource_size_t align;
> 1776		resource_size_t length;
  1777		int ret;
  1778	
  1779		if (hbus->low_mmio_space) {
  1780			align = 1ULL << (63 - __builtin_clzll(hbus->low_mmio_space));
  1781			ret = vmbus_allocate_mmio(&hbus->low_mmio_res, hbus->hdev, 0,
  1782						0xffffffffULL,
  1783						(resource_size_t)hbus->low_mmio_space,
  1784						align, false);

---
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" (51053 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ