[PATCH 1/2 v4] ARM: imx: fix error handling in ipu device registration

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sun May 18 23:31:45 PDT 2014


On Sun, May 18, 2014 at 10:50:59PM +0200, Emil Goode wrote:
> If we fail to allocate struct platform_device pdev we
> dereference it after the goto label err.
> 
> This bug was found using coccinelle.
> 
> Signed-off-by: Emil Goode <emilgoode at gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Shawn, is it already to late for 3.15?

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |



More information about the linux-arm-kernel mailing list