Commits
Liu Ying committed d4922b8e0d6
MLK-11911-5 mxc IPUv3: pixel clk: Free gate clk memory if clk_regiser fails This patch fixes the following issue reported by Coverity: if (IS_ERR(clk)) freed_arg: kfree frees clk. [Note: The source code implementation of the function has been overridden by a builtin model.] kfree(clk); Use after free (USE_AFTER_FREE) use_after_free: Using freed pointer clk. return clk; Signed-off-by: Liu Ying <Ying.Liu@freescale.com>