git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bc4a87
)
ARM: imx: fix error handling in ipu device registration
author
Emil Goode
<emilgoode@gmail.com>
Mon, 19 May 2014 07:07:54 +0000
(15:07 +0800)
committer
Olof Johansson
<olof@lixom.net>
Thu, 22 May 2014 05:16:56 +0000
(22:16 -0700)
If we fail to allocate struct platform_device pdev we
dereference it after the goto label err.
This bug was found using coccinelle.
Fixes: afa77ef (ARM: mx3: dynamically allocate "ipu-core" devices)
Signed-off-by: Emil Goode <emilgoode@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: <stable@vger.kernel.org>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-imx/devices/platform-ipu-core.c
patch
|
blob
|
history
diff --cc
arch/arm/mach-imx/devices/platform-ipu-core.c
Simple merge