From: Sylvain Lemieux <slemieux.tyco@gmail.com> To: Vladimir Zapolskiy <vz@mleia.com> Cc: Arnd Bergmann <arnd@arndb.de>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org> Subject: Re: [PATCH] ARM: lpc32xx: fix NR_IRQS confict Date: Thu, 19 May 2016 08:09:29 -0400 [thread overview] Message-ID: <1463659769.14963.4.camel@localhost> (raw) In-Reply-To: <573D8F92.3010902@mleia.com> Hi Arnd, On Thu, 2016-05-19 at 13:04 +0300, Vladimir Zapolskiy wrote: > Hi Arnd, > > On 19.05.2016 11:35, Arnd Bergmann wrote: > > With the change to sparse IRQs, the lpc32xx platform gets a warning about > > conflicting macros: > > > > In file included from arch/arm/mach-lpc32xx/irq.c:31:0: > > arch/arm/mach-lpc32xx/include/mach/irqs.h:115:0: warning: "NR_IRQS" redefined > > #define NR_IRQS 96 > > arch/arm/include/asm/irq.h:9:0: note: this is the location of the previous definition > > #define NR_IRQS NR_IRQS_LEGACY > > > > In the irq controller driver, we surely need the local number instead of > > the generic NR_IRQS definition, so I'm renaming that one to LPC32XX_NR_IRQS. > > > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > Fixes: 8cb17b5ed017 ("irqchip: Add LPC32xx interrupt controller driver") > > I think that the entire removal of arch/arm/mach-lpc32xx/irq.c is the proper fix, > since it is a dead code now - http://www.spinics.net/lists/arm-kernel/msg499976.html > > I believe you can apply that change and add Fixes: tag. > I also submitted a patch that remove this warning at the source (GPIO driver broken to_irq support), until the GPIO driver update is done. Please refer to this link: http://thread.gmane.org/gmane.linux.kernel.gpio/16837 Sylvain > -- > With best wishes, > Vladimir
WARNING: multiple messages have this Message-ID (diff)
From: slemieux.tyco@gmail.com (Sylvain Lemieux) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: lpc32xx: fix NR_IRQS confict Date: Thu, 19 May 2016 08:09:29 -0400 [thread overview] Message-ID: <1463659769.14963.4.camel@localhost> (raw) In-Reply-To: <573D8F92.3010902@mleia.com> Hi Arnd, On Thu, 2016-05-19 at 13:04 +0300, Vladimir Zapolskiy wrote: > Hi Arnd, > > On 19.05.2016 11:35, Arnd Bergmann wrote: > > With the change to sparse IRQs, the lpc32xx platform gets a warning about > > conflicting macros: > > > > In file included from arch/arm/mach-lpc32xx/irq.c:31:0: > > arch/arm/mach-lpc32xx/include/mach/irqs.h:115:0: warning: "NR_IRQS" redefined > > #define NR_IRQS 96 > > arch/arm/include/asm/irq.h:9:0: note: this is the location of the previous definition > > #define NR_IRQS NR_IRQS_LEGACY > > > > In the irq controller driver, we surely need the local number instead of > > the generic NR_IRQS definition, so I'm renaming that one to LPC32XX_NR_IRQS. > > > > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > > Fixes: 8cb17b5ed017 ("irqchip: Add LPC32xx interrupt controller driver") > > I think that the entire removal of arch/arm/mach-lpc32xx/irq.c is the proper fix, > since it is a dead code now - http://www.spinics.net/lists/arm-kernel/msg499976.html > > I believe you can apply that change and add Fixes: tag. > I also submitted a patch that remove this warning at the source (GPIO driver broken to_irq support), until the GPIO driver update is done. Please refer to this link: http://thread.gmane.org/gmane.linux.kernel.gpio/16837 Sylvain > -- > With best wishes, > Vladimir
next prev parent reply other threads:[~2016-05-19 12:09 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2016-05-19 8:35 [PATCH] ARM: lpc32xx: fix NR_IRQS confict Arnd Bergmann 2016-05-19 8:35 ` Arnd Bergmann 2016-05-19 10:04 ` Vladimir Zapolskiy 2016-05-19 10:04 ` Vladimir Zapolskiy 2016-05-19 12:09 ` Sylvain Lemieux [this message] 2016-05-19 12:09 ` Sylvain Lemieux 2016-05-19 13:29 ` Arnd Bergmann 2016-05-19 13:29 ` Arnd Bergmann
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=1463659769.14963.4.camel@localhost \ --to=slemieux.tyco@gmail.com \ --cc=arnd@arndb.de \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=vz@mleia.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.