linux_dsm_epyc7002/arch/arm/mach-imx/devices
Emil Goode d1d70e5dc2 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>
2014-05-21 22:16:56 -07:00
..
devices-common.h ARM i.MX: remove PWM platform support 2014-03-05 10:35:09 +08:00
devices.c ARM: IMX: remove unnecessary use of IS_ERR_VALUE() 2013-05-02 19:54:24 +01:00
Kconfig ARM i.MX: remove PWM platform support 2014-03-05 10:35:09 +08:00
Makefile ARM i.MX: remove PWM platform support 2014-03-05 10:35:09 +08:00
platform-fec.c ARM: imx: Remove mx508 support 2013-01-29 14:05:43 +08:00
platform-flexcan.c ARM: imx: prepare for removal of flexcan_platform_data 2013-06-27 15:15:08 +02:00
platform-fsl-usb2-udc.c usb: gadget: fsl-mxc-udc: replace cpu_is_xxx() with platform_device_id 2013-01-18 14:08:20 +02:00
platform-gpio_keys.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-gpio-mxc.c ARM: imx: move platform device code into mach-imx 2012-10-15 09:18:15 +08:00
platform-imx2-wdt.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-imx21-hcd.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-imx27-coda.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-imx_udc.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-imx-dma.c dma: imx-dma: remove cpu_is_xxx by using platform_device_id 2012-10-15 10:03:17 +08:00
platform-imx-fb.c ARM: imx: platform-imx-fb: modifies platform device name 2013-01-14 08:16:11 +08:00
platform-imx-i2c.c ARM: imx: Remove mx508 support 2013-01-29 14:05:43 +08:00
platform-imx-keypad.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-imx-ssi.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-imx-uart.c ARM: imx: Remove mx508 support 2013-01-29 14:05:43 +08:00
platform-imxdi_rtc.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-ipu-core.c ARM: imx: fix error handling in ipu device registration 2014-05-21 22:16:56 -07:00
platform-mx1-camera.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-mx2-camera.c ARM : i.MX27 : split code for allocation of ressources of camera and eMMA 2012-11-16 16:21:48 +01:00
platform-mx2-emma.c ARM: imx: Move platform-mx2-emma to arch/arm/mach-imx/devices 2012-12-17 10:58:52 +01:00
platform-mxc_nand.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-mxc_rnga.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-mxc_rtc.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-mxc_w1.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-mxc-ehci.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-mxc-mmc.c Merge remote-tracking branch 'arm-soc/imx/multiplatform' into x 2012-11-16 16:21:27 +01:00
platform-pata_imx.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-sdhci-esdhc-imx.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00
platform-spi_imx.c ARM: imx: include hardware.h rather than mach/hardware.h 2012-10-15 10:05:43 +08:00