mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 10:32:35 +00:00
8ac9e914a4
Function of_clk_get() returns an ERR_PTR on failures. In file mtk_mdp_commp.c, its return value is checked against NULL. Such checks cannot prevent from accessing bad memory. This patch replaces the NULL checks with IS_ERR checks. Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> |
||
---|---|---|
.. | ||
Makefile | ||
mtk_mdp_comp.c | ||
mtk_mdp_comp.h | ||
mtk_mdp_core.c | ||
mtk_mdp_core.h | ||
mtk_mdp_ipi.h | ||
mtk_mdp_m2m.c | ||
mtk_mdp_m2m.h | ||
mtk_mdp_regs.c | ||
mtk_mdp_regs.h | ||
mtk_mdp_vpu.c | ||
mtk_mdp_vpu.h |