From: kbuild test robot <lkp@intel.com>
To: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: kbuild-all@01.org, "David S. Miller" <davem@davemloft.net>,
netdev@vger.kernel.org, Mugunthan V N <mugunthanvnm@ti.com>,
Sekhar Nori <nsekhar@ti.com>,
linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
Grygorii Strashko <grygorii.strashko@ti.com>
Subject: Re: [PATCH 1/3] net: ethernet: ti: cpdma: fix lockup in cpdma_ctlr_destroy()
Date: Sat, 23 Jul 2016 00:03:48 +0800 [thread overview]
Message-ID: <201607230050.VPxorWZ0%fengguang.wu@intel.com> (raw)
In-Reply-To: <20160722135847.20557-2-grygorii.strashko@ti.com>
[-- Attachment #1: Type: text/plain, Size: 4060 bytes --]
Hi,
[auto build test WARNING on net-next/master]
[also build test WARNING on v4.7-rc7 next-20160722]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Grygorii-Strashko/drivers-net-cpsw-fix-driver-loading-unloading/20160722-221708
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm
All warnings (new ones prefixed by >>):
drivers/net/ethernet/ti/davinci_cpdma.c: In function 'cpdma_ctlr_destroy':
>> drivers/net/ethernet/ti/davinci_cpdma.c:433:16: warning: unused variable 'flags' [-Wunused-variable]
unsigned long flags;
^
vim +/flags +433 drivers/net/ethernet/ti/davinci_cpdma.c
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 417 dma_reg_read(ctlr, CPDMA_DMASTATUS));
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 418 dev_info(dev, "CPDMA: rxbuffofs: %x",
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 419 dma_reg_read(ctlr, CPDMA_RXBUFFOFS));
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 420 }
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 421
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 422 for (i = 0; i < ARRAY_SIZE(ctlr->channels); i++)
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 423 if (ctlr->channels[i])
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 424 cpdma_chan_dump(ctlr->channels[i]);
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 425
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 426 spin_unlock_irqrestore(&ctlr->lock, flags);
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 427 return 0;
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 428 }
32a6d90b drivers/net/ethernet/ti/davinci_cpdma.c Arnd Bergmann 2012-04-20 429 EXPORT_SYMBOL_GPL(cpdma_ctlr_dump);
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 430
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 431 int cpdma_ctlr_destroy(struct cpdma_ctlr *ctlr)
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 432 {
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 @433 unsigned long flags;
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 434 int ret = 0, i;
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 435
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 436 if (!ctlr)
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 437 return -EINVAL;
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 438
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 439 if (ctlr->state != CPDMA_STATE_IDLE)
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 440 cpdma_ctlr_stop(ctlr);
ef8c2dab drivers/net/davinci_cpdma.c Cyril Chemparathy 2010-09-15 441
:::::: The code at line 433 was first introduced by commit
:::::: ef8c2dab01b6e30c4b2ca3ea3b8db33430493589 net: davinci_emac: separate out cpdma code
:::::: TO: Cyril Chemparathy <cyril@ti.com>
:::::: CC: Kevin Hilman <khilman@deeprootsystems.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 37759 bytes --]
next prev parent reply other threads:[~2016-07-22 16:05 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-22 13:58 [PATCH 0/3] drivers: net: cpsw: fix driver loading/unloading Grygorii Strashko
2016-07-22 13:58 ` [PATCH 1/3] net: ethernet: ti: cpdma: fix lockup in cpdma_ctlr_destroy() Grygorii Strashko
2016-07-22 16:03 ` kbuild test robot [this message]
2016-07-23 6:24 ` Ivan Khoronzhuk
2016-07-26 16:02 ` Grygorii Strashko
2016-07-26 20:54 ` ivan.khoronzhuk
2016-07-28 9:44 ` Grygorii Strashko
2016-07-22 13:58 ` [PATCH 2/3] drivers: net: cpsw: fix wrong regs access in cpsw_remove Grygorii Strashko
2016-07-22 13:58 ` [PATCH 3/3] drivers: net: cpsw: use of_platform_depopulate() Grygorii Strashko
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=201607230050.VPxorWZ0%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=davem@davemloft.net \
--cc=grygorii.strashko@ti.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=mugunthanvnm@ti.com \
--cc=netdev@vger.kernel.org \
--cc=nsekhar@ti.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®