[PATCH] clk: mediatek: clk-mt2701: Add check for mtk_alloc_clk_data

AngeloGioacchino Del Regno angelogioacchino.delregno at collabora.com
Thu Sep 7 02:06:11 PDT 2023


Il 01/09/23 04:46, Jiasheng Jiang ha scritto:
> Add the check for the return value of mtk_alloc_clk_data() in order to
> avoid NULL pointer dereference.
> 
> Fixes: e9862118272a ("clk: mediatek: Add MT2701 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-arm-kernel mailing list