Hi Arnd,
First bad commit (maybe != root cause):
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator.git
ixp4xx-test
head: 1b826e686b390fd1eeb347def38185fefcbd5140
commit: 01f03b58033c5812cf5ce0ed56298fc56dedb67c [19/23] soc: ixp4xx: allow compile
testing drivers
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-rc1-42-g38eda53-dirty
git checkout 01f03b58033c5812cf5ce0ed56298fc56dedb67c
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
> drivers/soc/ixp4xx/ixp4xx-qmgr.c:149:37: sparse: sparse:
dereference of noderef expression
drivers/soc/ixp4xx/ixp4xx-qmgr.c:153:40:
sparse: sparse: dereference of noderef expression
drivers/soc/ixp4xx/ixp4xx-qmgr.c:154:40: sparse: sparse: dereference of noderef
expression
drivers/soc/ixp4xx/ixp4xx-qmgr.c:174:38: sparse: sparse: dereference of noderef
expression
drivers/soc/ixp4xx/ixp4xx-qmgr.c:174:44: sparse: sparse: dereference of noderef
expression
vim +149 drivers/soc/ixp4xx/ixp4xx-qmgr.c
82a96f5790ac93 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Halasa 2008-01-01 139
82a96f5790ac93 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Halasa 2008-01-01 140
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 141 static
irqreturn_t qmgr_irq1_a0(int irq, void *pdev)
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 142 {
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 143 int
i, ret = 0;
0771c6939484d2 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-04-28 144 u32
en_bitmap, src, stat;
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 145
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 146 /*
ACK - it may clear any bits so don't rely on it */
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 147
__raw_writel(0xFFFFFFFF, &qmgr_regs->irqstat[0]);
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 148
0771c6939484d2 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-04-28 @149
en_bitmap = qmgr_regs->irqen[0];
0771c6939484d2 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-04-28 150 while
(en_bitmap) {
0771c6939484d2 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-04-28 151 i =
__fls(en_bitmap); /* number of the last "low" queue */
0771c6939484d2 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-04-28 152
en_bitmap &= ~BIT(i);
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 153 src
= qmgr_regs->irqsrc[i >> 3];
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 154 stat
= qmgr_regs->stat1[i >> 3];
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 155 if
(src & 4) /* the IRQ condition is inverted */
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 156
stat = ~stat;
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 157 if
(stat & BIT(src & 3)) {
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 158
irq_handlers[i](irq_pdevs[i]);
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 159 ret
= IRQ_HANDLED;
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 160 }
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 161 }
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 162
return ret;
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 163 }
d4c9e9fc975155 arch/arm/mach-ixp4xx/ixp4xx_qmgr.c Krzysztof Hałasa 2009-05-23 164
:::::: The code at line 149 was first introduced by commit
:::::: 0771c6939484d2ebe0ec28257c2570aecd9911e0 IXP42x: Use __fls() in QMgr interrupt
handlers.
:::::: TO: Krzysztof Hałasa <khc(a)pm.waw.pl>
:::::: CC: Krzysztof Hałasa <khc(a)pm.waw.pl>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation