lkml.org 
[lkml]   [2018]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] irq: ingenic: Drop dependency on MACH_INGENIC
OK, forget this patch.

I need to drop the <asm/mach-jz4740/irq.h> 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 <lkp@intel.com> 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 <lars@metafoo.de>
> :::::: CC: Ralf Baechle <ralf@linux-mips.org>
>
> ---
> 0-DAY kernel test infrastructure Open Source
> Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel
> Corporation

\
 
 \ /
  Last update: 2018-08-23 14:51    [W:0.031 / U:2.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site