Re: [PATCH] irq: ingenic: Drop dependency on MACH_INGENIC

2018-08-23 Thread Paul Cercueil

OK, forget this patch.

I need to drop the  include first and
there's a bit of work to do before I can achieve that.

-Paul Cercueil


Le jeu. 23 août 2018 à 4:30, kbuild test robot  a 
écrit :

Hi Paul,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on tip/irq/core]
[also build test WARNING on v4.18 next-20180822]
[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/Paul-Cercueil/irq-ingenic-Drop-dependency-on-MACH_INGENIC/20180822-083429

config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross 
-O ~/bin/make.cross

chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=mips

All warnings (new ones prefixed by >>):

   In file included from drivers//irqchip/irq-ingenic.c:30:0:
 arch/mips/include/asm/mach-jz4740/irq.h:63:0: warning: "NR_IRQS" 
redefined

#define NR_IRQS (JZ4740_IRQ_ADC_BASE + 6)

   In file included from arch/mips/include/asm/irq.h:18:0,
from include/linux/irq.h:23,
from include/asm-generic/hardirq.h:13,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:9,
from include/linux/interrupt.h:11,
from drivers//irqchip/irq-ingenic.c:19:
   arch/mips/include/asm/mach-generic/irq.h:12:0: note: this is the 
location of the previous definition

#define NR_IRQS 128


vim +/NR_IRQS +63 arch/mips/include/asm/mach-jz4740/irq.h

9869848d Lars-Peter Clausen 2010-07-17  62
9869848d Lars-Peter Clausen 2010-07-17 @63  #define NR_IRQS 
(JZ4740_IRQ_ADC_BASE + 6)

9869848d Lars-Peter Clausen 2010-07-17  64

:: The code at line 63 was first introduced by commit
:: 9869848d12601cdddf097a36aebe0b10dc5d177b MIPS: JZ4740: Add IRQ 
handler code


:: TO: Lars-Peter Clausen 
:: CC: Ralf Baechle 

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




Re: [PATCH] irq: ingenic: Drop dependency on MACH_INGENIC

2018-08-22 Thread kbuild test robot
Hi Paul,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on tip/irq/core]
[also build test WARNING on v4.18 next-20180822]
[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/Paul-Cercueil/irq-ingenic-Drop-dependency-on-MACH_INGENIC/20180822-083429
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.2.0 make.cross ARCH=mips 

All warnings (new ones prefixed by >>):

   In file included from drivers//irqchip/irq-ingenic.c:30:0:
>> arch/mips/include/asm/mach-jz4740/irq.h:63:0: warning: "NR_IRQS" redefined
#define NR_IRQS (JZ4740_IRQ_ADC_BASE + 6)

   In file included from arch/mips/include/asm/irq.h:18:0,
from include/linux/irq.h:23,
from include/asm-generic/hardirq.h:13,
from arch/mips/include/asm/hardirq.h:16,
from include/linux/hardirq.h:9,
from include/linux/interrupt.h:11,
from drivers//irqchip/irq-ingenic.c:19:
   arch/mips/include/asm/mach-generic/irq.h:12:0: note: this is the location of 
the previous definition
#define NR_IRQS 128


vim +/NR_IRQS +63 arch/mips/include/asm/mach-jz4740/irq.h

9869848d Lars-Peter Clausen 2010-07-17  62  
9869848d Lars-Peter Clausen 2010-07-17 @63  #define NR_IRQS 
(JZ4740_IRQ_ADC_BASE + 6)
9869848d Lars-Peter Clausen 2010-07-17  64  

:: The code at line 63 was first introduced by commit
:: 9869848d12601cdddf097a36aebe0b10dc5d177b MIPS: JZ4740: Add IRQ handler 
code

:: TO: Lars-Peter Clausen 
:: CC: Ralf Baechle 

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


.config.gz
Description: application/gzip