From: kbuild test robot <lkp@intel.com>
To: Luis de Bethencourt <luisbg@osg.samsung.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
JBottomley@odin.com, linux-scsi@vger.kernel.org,
Luis de Bethencourt <luisbg@osg.samsung.com>
Subject: Re: [PATCH] scsi: kconfig: When possible, compile drivers with COMPILE_TEST
Date: Thu, 15 Oct 2015 09:11:13 +0800 [thread overview]
Message-ID: <201510150911.LUZUzevd%fengguang.wu@intel.com> (raw)
In-Reply-To: <1444857220-26595-1-git-send-email-luisbg@osg.samsung.com>
Hi Luis,
[auto build test WARNING on scsi/for-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Luis-de-Bethencourt/scsi-kconfig-When-possible-compile-drivers-with-COMPILE_TEST/20151015-051558
reproduce:
# apt-get install sparse
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__
sparse warnings: (new ones prefixed by >>)
>> drivers/scsi/NCR5380.c:1751:9: sparse: context imbalance in 'NCR5380_transfer_dma' - unexpected unlock
vim +/NCR5380_transfer_dma +1751 drivers/scsi/NCR5380.c
^1da177e Linus Torvalds 2005-04-16 1735 NCR5380_setup(instance);
^1da177e Linus Torvalds 2005-04-16 1736
^1da177e Linus Torvalds 2005-04-16 1737 if ((tmp = (NCR5380_read(STATUS_REG) & PHASE_MASK)) != p) {
^1da177e Linus Torvalds 2005-04-16 1738 *phase = tmp;
^1da177e Linus Torvalds 2005-04-16 1739 return -1;
^1da177e Linus Torvalds 2005-04-16 1740 }
^1da177e Linus Torvalds 2005-04-16 1741 #if defined(REAL_DMA) || defined(REAL_DMA_POLL)
^1da177e Linus Torvalds 2005-04-16 1742 #ifdef READ_OVERRUNS
^1da177e Linus Torvalds 2005-04-16 1743 if (p & SR_IO) {
^1da177e Linus Torvalds 2005-04-16 1744 c -= 2;
^1da177e Linus Torvalds 2005-04-16 1745 }
^1da177e Linus Torvalds 2005-04-16 1746 #endif
52a6a1cb Finn Thain 2014-03-18 1747 dprintk(NDEBUG_DMA, "scsi%d : initializing DMA channel %d for %s, %d bytes %s %0x\n", instance->host_no, instance->dma_channel, (p & SR_IO) ? "reading" : "writing", c, (p & SR_IO) ? "to" : "from", (unsigned) d);
^1da177e Linus Torvalds 2005-04-16 1748 hostdata->dma_len = (p & SR_IO) ? NCR5380_dma_read_setup(instance, d, c) : NCR5380_dma_write_setup(instance, d, c);
^1da177e Linus Torvalds 2005-04-16 1749 #endif
^1da177e Linus Torvalds 2005-04-16 1750
^1da177e Linus Torvalds 2005-04-16 @1751 NCR5380_write(TARGET_COMMAND_REG, PHASE_SR_TO_TCR(p));
^1da177e Linus Torvalds 2005-04-16 1752
^1da177e Linus Torvalds 2005-04-16 1753 #ifdef REAL_DMA
^1da177e Linus Torvalds 2005-04-16 1754 NCR5380_write(MODE_REG, MR_BASE | MR_DMA_MODE | MR_ENABLE_EOP_INTR | MR_MONITOR_BSY);
^1da177e Linus Torvalds 2005-04-16 1755 #elif defined(REAL_DMA_POLL)
^1da177e Linus Torvalds 2005-04-16 1756 NCR5380_write(MODE_REG, MR_BASE | MR_DMA_MODE);
^1da177e Linus Torvalds 2005-04-16 1757 #else
^1da177e Linus Torvalds 2005-04-16 1758 /*
^1da177e Linus Torvalds 2005-04-16 1759 * Note : on my sample board, watch-dog timeouts occurred when interrupts
:::::: The code at line 1751 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
prev parent reply other threads:[~2015-10-15 1:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-14 21:13 Luis de Bethencourt
2015-10-14 22:25 ` Randy Dunlap
2015-10-14 22:42 ` James Bottomley
2015-10-14 23:30 ` Luis de Bethencourt
2015-10-14 23:39 ` James Bottomley
2015-10-16 13:08 ` Luis de Bethencourt
2015-10-15 1:11 ` kbuild test robot [this message]
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=201510150911.LUZUzevd%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=JBottomley@odin.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=luisbg@osg.samsung.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®