From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752355AbcEMIY6 (ORCPT ); Fri, 13 May 2016 04:24:58 -0400 Received: from foss.arm.com ([217.140.101.70]:34814 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751302AbcEMIYy (ORCPT ); Fri, 13 May 2016 04:24:54 -0400 Subject: Re: [PATCH] irqchip: nps: add 64BIT dependency To: Arnd Bergmann , Jason Cooper References: <1463087038-2522527-1-git-send-email-arnd@arndb.de> Cc: Noam Camus , Vineet Gupta , linux-snps-arc@lists.infradead.org, Thomas Gleixner , linux-kernel@vger.kernel.org From: Marc Zyngier Organization: ARM Ltd Message-ID: <57358F52.706@arm.com> Date: Fri, 13 May 2016 09:24:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: <1463087038-2522527-1-git-send-email-arnd@arndb.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/05/16 22:03, Arnd Bergmann wrote: > The newly added nps irqchip driver causes build warnings on ARM64. > > include/soc/nps/common.h: In function 'nps_host_reg_non_cl': > include/soc/nps/common.h:148:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > > As the driver is only used on ARC, we don't need to see it without > COMPILE_TEST elsewhere, and we can avoid the warnings by only > building on 32-bit architectures even with CONFIG_COMPILE_TEST. > > Signed-off-by: Arnd Bergmann > --- > drivers/irqchip/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig > index 83775f148158..37289cf6b449 100644 > --- a/drivers/irqchip/Kconfig > +++ b/drivers/irqchip/Kconfig > @@ -253,6 +253,7 @@ config MVEBU_ODMI > > config EZNPS_GIC > bool "NPS400 Global Interrupt Manager (GIM)" > + depends on ARC || (COMPILE_TEST && !64BIT) > select IRQ_DOMAIN > help > Support the EZchip NPS400 global interrupt controller > Acked-by: Marc Zyngier As I've already started collecting fixes that are aimed at -rc1 (mostly to avoid dependencies), I can queue that as well. Thanks, M. -- Jazz is not dead. It just smells funny...