diff options
author | Emil Goode <[email protected]> | 2014-05-19 15:07:54 +0800 |
---|---|---|
committer | Olof Johansson <[email protected]> | 2014-05-21 22:16:56 -0700 |
commit | d1d70e5dc2cfa9047bb935c41ba808ebb8135696 (patch) | |
tree | 2d4f25fbf928ebc38aa859391eec1cc4c4e8d0de /arch/mips/include/asm/mach-netlogic/multi-node.h | |
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 <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Cc: <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'arch/mips/include/asm/mach-netlogic/multi-node.h')
0 files changed, 0 insertions, 0 deletions