diff options
author | Emil Goode <emilgoode@gmail.com> | 2014-05-19 15:07:54 +0800 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-05-21 22:16:56 -0700 |
commit | d1d70e5dc2cfa9047bb935c41ba808ebb8135696 (patch) | |
tree | 2d4f25fbf928ebc38aa859391eec1cc4c4e8d0de /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 3bc4a87c03e75c88471450380cb194bf30ea4a87 (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 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions