[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201510220135.3nIResfo%fengguang.wu@intel.com>
Date: Thu, 22 Oct 2015 01:27:29 +0800
From: kbuild test robot <lkp@...el.com>
To: Michael Grzeschik <m.grzeschik@...gutronix.de>
Cc: kbuild-all@...org, davem@...emloft.net, netdev@...r.kernel.org,
kernel@...gutronix.de
Subject: Re: [PATCH net-next 4/6] arcnet: com20020-pci: add rotary index
support
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists