]> 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)
commitee4f6633ab612258f732a7b719571c618ca64003
treedabd965b3da56cf52ef10ee11fec0a9d5a2f9f84
parent4e0d69e7285556118a3971750fcf95ef4193ee57
Kind of revert "powerpc: 52xx: provide a default in mpc52xx_irqhost_map()"

This more or less reverts commit e4bded88ba508f95562d311277220e13ab83acd0.
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