Wei Yongjun <weiyj.lk@xxxxxxxxx> writes: > From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> > > pdata and pdata->regs have been allocated in this function and > should be freed before leaving it, and in the other error handling > cases too. > > spatch with a semantic match is used to found this problem. > (http://coccinelle.lip6.fr/) > > Signed-off-by: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx> Acked-by: Kevin Hilman <khilman@xxxxxx> Tony, can you pick this one up for fixes? Thanks, Kevin -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html