mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Vlad Zolotarov <vladz@cloudius-systems.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, mst@redhat.com,
	hjk@hansjkoch.de, regkh@linuxfoundation.org, corbet@lwn.net,
	bruce.richardson@intel.com, avi@cloudius-systems.com,
	gleb@cloudius-systems.com, stephen@networkplumber.org,
	alexander.duyck@gmail.com,
	Vlad Zolotarov <vladz@cloudius-systems.com>
Subject: Re: [PATCH v1 2/3] uio_pci_generic: add MSI/MSI-X support
Date: Mon, 5 Oct 2015 02:01:29 +0800	[thread overview]
Message-ID: <201510050131.RRYWxLzZ%fengguang.wu@intel.com> (raw)
In-Reply-To: <1443977019-1513-3-git-send-email-vladz@cloudius-systems.com>

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

  parent reply	other threads:[~2015-10-04 18:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-04 16:43 [PATCH v1 0/3] uio: add MSI/MSI-X support to uio_pci_generic driver Vlad Zolotarov
2015-10-04 16:43 ` [PATCH v1 1/3] uio: add ioctl support Vlad Zolotarov
2015-10-04 16:43 ` [PATCH v1 2/3] uio_pci_generic: add MSI/MSI-X support Vlad Zolotarov
2015-10-04 16:58   ` kbuild test robot
2015-10-04 18:01   ` kbuild test robot [this message]
2015-10-04 16:43 ` [PATCH v1 3/3] Documentation: update uio-howto Vlad Zolotarov

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=201510050131.RRYWxLzZ%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.duyck@gmail.com \
    --cc=avi@cloudius-systems.com \
    --cc=bruce.richardson@intel.com \
    --cc=corbet@lwn.net \
    --cc=gleb@cloudius-systems.com \
    --cc=hjk@hansjkoch.de \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=regkh@linuxfoundation.org \
    --cc=stephen@networkplumber.org \
    --cc=vladz@cloudius-systems.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

all inboxes | Powered by JetHome®