summaryrefslogtreecommitdiff
path: root/arch/mn10300
diff options
context:
space:
mode:
authorEmil Goode <emilgoode@gmail.com>2014-05-19 15:07:54 +0800
committerOlof Johansson <olof@lixom.net>2014-05-21 22:16:56 -0700
commitd1d70e5dc2cfa9047bb935c41ba808ebb8135696 (patch)
tree2d4f25fbf928ebc38aa859391eec1cc4c4e8d0de /arch/mn10300
parent3bc4a87c03e75c88471450380cb194bf30ea4a87 (diff)
ARM: imx: fix error handling in ipu device registration
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>
Diffstat (limited to 'arch/mn10300')
0 files changed, 0 insertions, 0 deletions