summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/dts/mgcoge.dts
diff options
context:
space:
mode:
authorKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>2012-07-12 19:14:36 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2012-07-13 05:37:17 +0200
commit10db8d212864cb6741df7d7fafda5ab6661f6f88 (patch)
treead321c9ec8d250bf0c1d7a2cc61fec190b0e3be6 /arch/powerpc/boot/dts/mgcoge.dts
parentsound/aoa: Adapt to new i2c probing scheme (diff)
downloadlinux-10db8d212864cb6741df7d7fafda5ab6661f6f88.tar.xz
linux-10db8d212864cb6741df7d7fafda5ab6661f6f88.zip
powerpc/eeh: Check handle_eeh_events() return value
Function eeh_event_handler() dereferences the pointer returned by handle_eeh_events() without checking, causing a crash if NULL was returned, which is expected in some situations. This patch fixes this bug by checking for the value returned by handle_eeh_events() before dereferencing it. Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> CC: stable@vger.kernel.org [v3.4+]
Diffstat (limited to 'arch/powerpc/boot/dts/mgcoge.dts')
0 files changed, 0 insertions, 0 deletions