All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] irqchip: nps: add 64BIT dependency
@ 2016-05-12 21:03 ` Arnd Bergmann
  0 siblings, 0 replies; 22+ messages in thread
From: Arnd Bergmann @ 2016-05-12 21:03 UTC (permalink / raw)
  To: Jason Cooper
  Cc: Noam Camus, Vineet Gupta, linux-snps-arc, Arnd Bergmann,
	Thomas Gleixner, Marc Zyngier, linux-kernel

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 <arnd@arndb.de>
---
 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
-- 
2.7.0

^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2016-05-20  8:25 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-12 21:03 [PATCH] irqchip: nps: add 64BIT dependency Arnd Bergmann
2016-05-12 21:03 ` Arnd Bergmann
2016-05-13  8:24 ` Marc Zyngier
2016-05-13  8:24   ` Marc Zyngier
2016-05-13  8:35   ` Vineet Gupta
2016-05-13  8:35     ` Vineet Gupta
2016-05-13  8:39     ` Marc Zyngier
2016-05-13  8:39       ` Marc Zyngier
2016-05-13  9:51     ` Arnd Bergmann
2016-05-13  9:51       ` Arnd Bergmann
2016-05-13 10:25       ` Marc Zyngier
2016-05-13 10:25         ` Marc Zyngier
2016-05-13 10:39         ` Vineet Gupta
2016-05-13 10:39           ` Vineet Gupta
2016-05-17 19:39           ` Thomas Gleixner
2016-05-17 19:39             ` Thomas Gleixner
2016-05-20  7:34 ` Geert Uytterhoeven
2016-05-20  7:34   ` Geert Uytterhoeven
2016-05-20  8:22   ` Vineet Gupta
2016-05-20  8:22     ` Vineet Gupta
2016-05-20  8:25     ` Geert Uytterhoeven
2016-05-20  8:25       ` Geert Uytterhoeven

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.