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] [day] [month] [year] [list]
Message-ID: <201510050131.RRYWxLzZ%fengguang.wu@intel.com>
Date:	Mon, 5 Oct 2015 02:01:29 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Vlad Zolotarov <vladz@...udius-systems.com>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org, mst@...hat.com,
	hjk@...sjkoch.de, regkh@...uxfoundation.org, corbet@....net,
	bruce.richardson@...el.com, avi@...udius-systems.com,
	gleb@...udius-systems.com, stephen@...workplumber.org,
	alexander.duyck@...il.com,
	Vlad Zolotarov <vladz@...udius-systems.com>
Subject: Re: [PATCH v1 2/3] uio_pci_generic: add MSI/MSI-X support

Hi Vlad,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore]

reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/uio/uio_pci_generic.c:93:30: sparse: incorrect type in assignment (different address spaces)
   drivers/uio/uio_pci_generic.c:93:30:    expected void *addr
   drivers/uio/uio_pci_generic.c:93:30:    got void [noderef] <asn:2>*
>> drivers/uio/uio_pci_generic.c:101:52: sparse: incorrect type in assignment (different address spaces)
   drivers/uio/uio_pci_generic.c:101:52:    expected void [noderef] <asn:2>*internal_addr
   drivers/uio/uio_pci_generic.c:101:52:    got void *addr

vim +93 drivers/uio/uio_pci_generic.c

    87			if (flags & IORESOURCE_MEM) {
    88				void *addr;
    89	
    90				if (m >= MAX_UIO_MAPS)
    91					continue;
    92	
  > 93				addr = ioremap(start, len);
    94				if (addr == NULL) {
    95					err = -EINVAL;
    96					goto fail;
    97				}
    98	
    99				info->mem[m].name = bar_names[i];
   100				info->mem[m].addr = start;
 > 101				info->mem[m].internal_addr = addr;
   102				info->mem[m].size = len;
   103				info->mem[m].memtype = UIO_MEM_PHYS;
   104				++m;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ