diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-03 12:22:06 +0200 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-05-18 16:48:36 -0600 |
commit | d6de85e85edcc38c9edcde45a0a568818fcddc13 (patch) | |
tree | 78ac0ab6a344c2df5bde7dcb49f46381ff293c13 /arch/m32r/boot | |
parent | e92935e13a052df7e6bc274e00fc91b80531f1e4 (diff) |
gpio: mpc8xxx: Prevent NULL pointer deref in demux handler
commit cfadd838(powerpc/8xxx: Fix interrupt handling in MPC8xxx GPIO
driver) added an unconditional call of chip->irq_eoi() to the demux
handler.
This leads to a NULL pointer derefernce on MPC512x platforms which use
this driver as well.
Make it conditional.
Reported-by: Thomas Wucher <thwucher@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Felix Radensky <felix@embedded-sol.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: stable@vger.kernel.org
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/m32r/boot')
0 files changed, 0 insertions, 0 deletions