diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-05-03 12:22:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-01 15:18:25 +0800 |
commit | dc9f6719d012a955d3e87f720c8ed9d03f2b9020 (patch) | |
tree | 2cf620b621eeaf3d8a4713f1f0544a90b33addd1 /drivers/spi | |
parent | d8a0b3e41b7cac5dcd6408073f70818bb9675f25 (diff) | |
download | linux-3.10-dc9f6719d012a955d3e87f720c8ed9d03f2b9020.tar.gz linux-3.10-dc9f6719d012a955d3e87f720c8ed9d03f2b9020.tar.bz2 linux-3.10-dc9f6719d012a955d3e87f720c8ed9d03f2b9020.zip |
gpio: mpc8xxx: Prevent NULL pointer deref in demux handler
commit d6de85e85edcc38c9edcde45a0a568818fcddc13 upstream.
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>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions