]> git.baikalelectronics.ru Git - kernel.git/commit
Kind of revert "powerpc: 52xx: provide a default in mpc52xx_irqhost_map()"
authorWolfram Sang <wsa@the-dreams.de>
Fri, 4 Oct 2013 15:37:09 +0000 (17:37 +0200)
committerAnatolij Gustschin <agust@denx.de>
Wed, 30 Oct 2013 21:34:14 +0000 (22:34 +0100)
commit9793c98e589d9ba2b90ab880890d3401630ebf36
treedabd965b3da56cf52ef10ee11fec0a9d5a2f9f84
parent82e6cc86c76146a620f20d910550486f8c4ec2c3
Kind of revert "powerpc: 52xx: provide a default in mpc52xx_irqhost_map()"

This more or less reverts commit 8a7817aef7fcf12a7447ecfe9667545a96eb148a.
Instead of adding an unneeded 'default', mark the variable to prevent
the false positive 'uninitialized var'. The other change (fixing the
printout) needs revert, too. We want to know WHICH critical irq failed,
not which level it had.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Anatolij Gustschin <agust@denx.de>
Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
arch/powerpc/platforms/52xx/mpc52xx_pic.c