aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-generic.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2012-05-03 10:22:06 +0000
committerGrant Likely <[email protected]>2012-05-18 22:48:36 +0000
commitd6de85e85edcc38c9edcde45a0a568818fcddc13 (patch)
tree78ac0ab6a344c2df5bde7dcb49f46381ff293c13 /drivers/gpio/gpio-generic.c
parentgpio/lpc32xx: Add device tree support (diff)
downloadkernel-d6de85e85edcc38c9edcde45a0a568818fcddc13.tar.gz
kernel-d6de85e85edcc38c9edcde45a0a568818fcddc13.zip
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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Cc: Felix Radensky <[email protected]> Cc: Kumar Gala <[email protected]> Cc: Grant Likely <[email protected]> Cc: [email protected] Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'drivers/gpio/gpio-generic.c')
0 files changed, 0 insertions, 0 deletions