Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpio: mpc8xxx: Prevent NULL pointer deref in demux handler
commit cfadd83(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]>
- Loading branch information