diff options
| author | Thomas Gleixner <[email protected]> | 2012-05-03 10:22:06 +0000 |
|---|---|---|
| committer | Grant Likely <[email protected]> | 2012-05-18 22:48:36 +0000 |
| commit | d6de85e85edcc38c9edcde45a0a568818fcddc13 (patch) | |
| tree | 78ac0ab6a344c2df5bde7dcb49f46381ff293c13 /drivers/gpio/gpio-generic.c | |
| parent | gpio/lpc32xx: Add device tree support (diff) | |
| download | kernel-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
