[PATCH 1/5] clk: mediatek: clk-mt6765: Add check for mtk_alloc_clk_data

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Tue Sep 12 03:02:40 PDT 2023


Il 12/09/23 11:34, Jiasheng Jiang ha scritto:
> Add the check for the return value of mtk_alloc_clk_data() in order to
> avoid NULL pointer dereference.
> 
> Fixes: 1aca9939bf72 ("clk: mediatek: Add MT6765 clock support")
> Signed-off-by: Jiasheng Jiang <jiasheng at iscas.ac.cn>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>




More information about the Linux-mediatek mailing list