netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Michael Grzeschik <m.grzeschik@pengutronix.de>
Cc: kbuild-all@01.org, davem@davemloft.net, netdev@vger.kernel.org,
	kernel@pengutronix.de
Subject: Re: [PATCH net-next 4/6] arcnet: com20020-pci: add rotary index support
Date: Thu, 22 Oct 2015 01:27:29 +0800	[thread overview]
Message-ID: <201510220135.3nIResfo%fengguang.wu@intel.com> (raw)
In-Reply-To: <1445442332-10625-5-git-send-email-m.grzeschik@pengutronix.de>

Hi Michael,

[auto build test WARNING on net-next/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Michael-Grzeschik/arcnet-move-dev_free_skb-to-its-only-user/20151021-235034
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/net/arcnet/com20020-pci.c:101:17: sparse: dereference of noderef expression
   drivers/net/arcnet/com20020-pci.c:152:36: sparse: dereference of noderef expression

vim +101 drivers/net/arcnet/com20020-pci.c

    85	
    86		ci = (struct com20020_pci_card_info *)id->driver_data;
    87		priv->ci = ci;
    88		mm = &ci->misc_map;
    89	
    90		INIT_LIST_HEAD(&priv->list_dev);
    91	
    92		if (mm->size) {
    93			ioaddr = pci_resource_start(pdev, mm->bar) + mm->offset;
    94			r = devm_request_region(&pdev->dev, ioaddr, mm->size,
    95						"com20020-pci");
    96			if (!r) {
    97				pr_err("IO region %xh-%xh already allocated.\n",
    98				       ioaddr, ioaddr + mm->size - 1);
    99				return -EBUSY;
   100			}
 > 101			priv->misc = ioaddr;
   102		}
   103	
   104		for (i = 0; i < ci->devcount; i++) {
   105			struct com20020_pci_channel_map *cm = &ci->chan_map_tbl[i];
   106			struct com20020_dev *card;
   107	
   108			dev = alloc_arcdev(device);
   109			if (!dev) {

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

  reply	other threads:[~2015-10-21 17:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21 15:45 [GIT PULL] ARCNET: code simplification and features Michael Grzeschik
2015-10-21 15:45 ` [PATCH net-next 1/6] arcnet: move dev_free_skb to its only user Michael Grzeschik
2015-10-21 15:45 ` [PATCH net-next 2/6] arcnet: com20020: add enable and disable device on open/close Michael Grzeschik
2015-10-21 17:18   ` [RFC PATCH] arcnet: com20020: com20020_netdev_open() can be static kbuild test robot
2015-10-21 17:18   ` [PATCH net-next 2/6] arcnet: com20020: add enable and disable device on open/close kbuild test robot
2015-10-21 15:45 ` [PATCH net-next 3/6] arcnet: com20020-pci: set dev_port to the subdevice index Michael Grzeschik
2015-10-21 15:45 ` [PATCH net-next 4/6] arcnet: com20020-pci: add rotary index support Michael Grzeschik
2015-10-21 17:27   ` kbuild test robot [this message]
2015-10-21 15:45 ` [PATCH net-next 5/6] arcnet: com20020-pci: add led trigger support Michael Grzeschik
2015-10-21 16:20   ` kbuild test robot
2015-10-21 15:45 ` [PATCH net-next 6/6] arcnet: add netif_carrier_on/off for reconnect Michael Grzeschik
2015-10-22  1:37 ` [GIT PULL] ARCNET: code simplification and features David Miller

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=201510220135.3nIResfo%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=davem@davemloft.net \
    --cc=kbuild-all@01.org \
    --cc=kernel@pengutronix.de \
    --cc=m.grzeschik@pengutronix.de \
    --cc=netdev@vger.kernel.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).