linux_dsm_epyc7002/arch/powerpc/platforms/52xx
Sebastian Siewior 6391f697d4 powerpc: 52xx: provide a default in mpc52xx_irqhost_map()
My gcc-4.3.5 fails to compile due to:

|cc1: warnings being treated as errors
|arch/powerpc/platforms/52xx/mpc52xx_pic.c: In function ‘mpc52xx_irqhost_map’:
|arch/powerpc/platforms/52xx/mpc52xx_pic.c:343: error: ‘irqchip’ may be used uninitialized in this function

since commit e34298c ("powerpc: 52xx: nop out unsupported critical
IRQs"). This warning is complete crap since only values 0…3 are possible
which are checked but gcc fails to understand that. I wouldn't care much
but since this is compiled with -Werror I made this patch.
While add it, I replaced the warning from l2irq to l1irq since this is
the number that is evaluated.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
2013-08-13 00:16:04 +02:00
..
efika.c powerpc/5200: efika.c: Add of_node_put to avoid memory leak 2010-09-08 11:45:24 -06:00
Kconfig gpio: Move mpc5200 gpio driver to drivers/gpio 2011-07-06 11:57:15 -06:00
lite5200_pm.c Disintegrate asm/system.h for PowerPC 2012-03-28 18:30:02 +01:00
lite5200_sleep.S [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
lite5200.c powerpc: Fix typos in Freescale copyright claims 2012-11-15 13:00:58 +11:00
Makefile gpio: Move mpc5200 gpio driver to drivers/gpio 2011-07-06 11:57:15 -06:00
media5200.c sections: fix section conflicts in arch/powerpc 2012-10-06 03:04:39 +09:00
mpc52xx_common.c powerpc/5200: convert mpc5200 to use of_platform_populate() 2012-03-21 10:40:31 +11:00
mpc52xx_gpt.c POWERPC: drivers: remove __dev* attributes. 2013-01-03 15:57:04 -08:00
mpc52xx_lpbfifo.c Merge remote-tracking branch 'agust/next' into next 2013-02-20 11:39:05 +11:00
mpc52xx_pci.c powerpc: Mark const init data with __initconst instead of __initdata 2012-04-02 14:00:03 +10:00
mpc52xx_pic.c powerpc: 52xx: provide a default in mpc52xx_irqhost_map() 2013-08-13 00:16:04 +02:00
mpc52xx_pm.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00
mpc52xx_sleep.S
mpc5200_simple.c powerpc: mpc5200: Add a3m071 board support 2012-12-06 22:59:08 +01:00