Tag: d1d70e5dc2cfa9047bb935c41ba808ebb8135696

ARM: imx: fix error handling in ipu device registration

Author: Emil Goode <emilgoode@gmail.com> 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 Acked-by: Uwe Kleine-König Cc: Signed-off-by: Shawn Guo Signed-off-by: Olof Johansson — arch/arm/mach-imx/devices/platform-ipu-core.c | 2 +- 1 file changed, …

Continue reading