commit | ecf026dc340f9700ed3c485344913a8a2b10e2e3 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Thu Oct 25 23:02:18 2012 +0800 |
committer | Sascha Hauer <s.hauer@pengutronix.de> | Fri Nov 16 15:53:57 2012 +0100 |
tree | 3b104ccd5de3908476e85da99ac51855a3d2806e | |
parent | 77b67063bb6bce6d475e910d3b886a606d0d91f7 [diff] |
ARM i.MX: fix error-valued pointer dereference in clk_register_gate2() The error-valued pointer clk is used for the arg of kfree, it should be kfree(gate) if clk_register() return ERR_PTR(). dpatch engine is used to auto generate this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>