On Mon, May 19, 2014 at 03:07:54PM +0800, Shawn Guo wrote: > From: Emil Goode <[email protected]> > > 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]> > --- > Arnd, Olof, > > Please consider to apply this fix for 3.15. Thanks.
Applied, thanks. BTW, it was requested to use a 12-character SHA in the Fixes: tag, since in the future there might be a collision on the shortest one. You can update the default for your git repo by setting the core.abbrevlength config variable to 12. -Olof -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
